4 * Copyright 2006 Develer S.r.l. (http://www.develer.com/)
9 * \brief TC520 ADC driver (intercace)
12 * \author Francesco Sacchi <batt@develer.com>
13 * \author Marco Benelli <marco@develer.com>
20 #include <cfg/compiler.h>
22 typedef uint32_t tc520_data_t;
24 /* 17 bit max value */
25 #define TC520_MAX_VALUE 0x1FFFFUL
27 tc520_data_t tc520_read(void);
28 void tc520_init(Serial *spi_port);
30 #endif /* DRV_TC520_H */