You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #ifndef ADC_H
- #define ADC_H
-
- #include "config.h"
-
- /* Initialize external 12-bit ADC (AD7450) */
- void adc_init(void);
-
- /* Trigger conversion and return it.
- Result is a signed value (-2048 to +2047) */
- int16_t adc_get(void);
-
- /* Trigger conversion and get raw 16-bit value from ADC */
- uint16_t adc_get_raw(void);
-
- #endif
|