10 lines
255 B
C
10 lines
255 B
C
|
|
#ifndef _INCLUDES_HARDWARE_ADC_H_
|
||
|
|
#define _INCLUDES_HARDWARE_ADC_H_
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief Read the ADC value from the given channel index. See "adc-channels" in
|
||
|
|
* your board overlay file.
|
||
|
|
*/
|
||
|
|
int adc_get_mv(int channel);
|
||
|
|
|
||
|
|
#endif /* _INCLUDES_HARDWARE_ADC_H_ */
|