X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Ftc520.h;h=c36238f7a63d4c9c8792f470a766768da657ba54;hb=HEAD;hp=c264ad20ec1904bf512fae7e62156bcf01febf65;hpb=5f3952176a4e9a00ca8dd5ec4a6b994958f89e0a;p=bertos.git diff --git a/drv/tc520.h b/drv/tc520.h deleted file mode 100644 index c264ad20..00000000 --- a/drv/tc520.h +++ /dev/null @@ -1,30 +0,0 @@ -/** - * \file - * - * - * \version $Id$ - * - * \brief TC520 ADC driver (intercace) - * - * \version $Id$ - * \author Francesco Sacchi - * \author Marco Benelli - */ - -#ifndef DRV_TC520_H -#define DRV_TC520_H - -#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 */