void adc_set_sampling_length(uint8_t length)
Sets the sampling length for the ADC.
Definition adc.c:75
uint16_t adc_get_analog_value_for_channel(uint8_t channel)
Gets the analog value on the given ADC channel.
Definition adc.c:81
void adc_init(void)
Initializes the ADC peripheral, but does not enable it.
Definition adc.c:102
void adc_enable(void)
Enables the ADC peripheral.
Definition adc.c:183
void adc_disable(void)
Disables the ADC peripheral.
Definition adc.c:190
uint16_t adc_get_analog_value(uint8_t pin)
Gets the analog value on the given ADC pin.
Definition adc.c:93