/* --------------------------------------------------------------------------- * spi0.h - v1.0 (c) 2006 Micro-key bv * --------------------------------------------------------------------------- * Micro-key bv * Industrieweg 28, 9804 TG Noordhorn * Postbus 92, 9800 AA Zuidhorn * The Netherlands * Tel: +31 594 503020 * Fax: +31 594 505825 * Email: support@microkey.nl * Web: www.microkey.nl * --------------------------------------------------------------------------- * Description: SPI 0 driver * --------------------------------------------------------------------------- * Version(s): 1.0, 07-12-2006, Jos Pasop. * Creation. * --------------------------------------------------------------------------- */ #ifndef __SPI0_H__ #define __SPI0_H__ /* --------------------------------------------------------------------------- * System include files. * --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------- * Application include files. * --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------- * Constant and macro definitions. * --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------- * Type definitions. * --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------- * Variable declarations. * --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------- * Function declarations. * --------------------------------------------------------------------------- */ void spi0Init (void); void spi0Enable (void); void spi0Disable (void); INT16 spi0Write (UINT16 data); INT16 spi0Read (UINT16 * pData); #endif /* __SPI0_H__ */