libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
adc.c File Reference
Include dependency graph for adc.c:

Go to the source code of this file.

Functions

void adc_set_clk_source (uint32_t adc, uint32_t source)
 ADC Set Clock Source. More...
 
void adc_set_clk_prescale (uint32_t adc, uint32_t prescale)
 ADC Set Clock Prescale. More...
 
void adc_set_sample_time_on_all_channels (uint32_t adc, uint8_t time)
 ADC Set the Sample Time for All Channels. More...
 
void adc_set_channel_sample_time_selection (uint32_t adc, uint8_t channel, uint8_t selection)
 ADC Set the Sample Time Selection for a Single Channel. More...
 
void adc_set_selection_sample_time (uint32_t adc, uint8_t selection, uint8_t time)
 ADC Set the Sample Time for Given Selection. More...
 
void adc_set_regular_sequence (uint32_t adc, uint8_t length, uint8_t channel[])
 ADC Set a Regular Channel Conversion Sequence. More...
 
void adc_enable_regulator (uint32_t adc)
 Enable the ADC Voltage regulator. More...
 
void adc_disable_regulator (uint32_t adc)
 Disable the ADC Voltage regulator. More...