d_adc.h
Go to the documentation of this file.
1 #ifndef D_ADC_H_
2 #define D_ADC_H_
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 // defines
8 #define ADC_VOLT_REF 3300 // reference voltage for AFEC in mV
9 #define ADC_MAX_DIGITAL 4096UL // the maximal digital value
10 
11 // prototypes
12 int adc_init(void);
13 float adc_voltage(void);
14 
15 #ifdef __cplusplus
16 }
17 #endif
18 #endif // D_ADC_H_
int adc_init(void)
Definition: d_adc.c:4
float adc_voltage(void)
Definition: d_adc.c:33


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:57