tc520.h

Go to the documentation of this file.
00001 
00041 #ifndef DRV_TC520_H
00042 #define DRV_TC520_H
00043 
00044 #warning FIXME: This drive is obsolete, you should refactor it.
00045 
00046 #include <drv/ser.h>
00047 #include <cfg/compiler.h>
00048 
00049 typedef uint32_t tc520_data_t;
00050 
00051 /* 17 bit max value */
00052 #define TC520_MAX_VALUE 0x1FFFFUL
00053 
00054 tc520_data_t tc520_read(void);
00055 void tc520_init(Serial *spi_port);
00056 
00057 #endif  /* DRV_TC520_H */