/** * \file * * * * \brief TC520 ADC driver (intercace) * * \author Francesco Sacchi * \author Marco Benelli */ #ifndef DRV_TC520_H #define DRV_TC520_H #warning FIXME: This drive is obsolete, you should refactor it. #include #include typedef uint32_t tc520_data_t; /* 17 bit max value */ #define TC520_MAX_VALUE 0x1FFFFUL tc520_data_t tc520_read(void); void tc520_init(Serial *spi_port); #endif /* DRV_TC520_H */