Data Structures | |
struct | adc_channel_attr_t |
Functions | |
adc_result_t | hal_adc_init (const adc_channel_attr_t attr) |
Configure ADC channel. | |
adc_result_t | hal_adc_calibrate (const float vref) |
Calibrate ADC reference voltage. | |
uint32_t | hal_adc_read (const gpio_pin_t pin) |
Read ADC pin value. | |
float | hal_adc_read_volt (const gpio_pin_t pin) |
Read ADC pin voltage. | |