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

Go to the source code of this file.

Functions

void adc_power_on (uint32_t adc)
 ADC Power On. More...
 
void adc_set_clk_prescale (uint32_t prescale)
 ADC Set Clock Prescale The ADC clock can be prescaled. More...
 
void adc_enable_external_trigger_regular (uint32_t adc, uint32_t trigger, uint32_t polarity)
 ADC Enable an External Trigger for Regular Channels. More...
 
void adc_disable_external_trigger_regular (uint32_t adc)
 ADC Disable an External Trigger for Regular Channels. More...
 
void adc_enable_external_trigger_injected (uint32_t adc, uint32_t trigger, uint32_t polarity)
 ADC Enable an External Trigger for Injected Channels. More...
 
void adc_disable_external_trigger_injected (uint32_t adc)
 ADC Disable an External Trigger for Injected Channels. More...
 
void adc_set_resolution (uint32_t adc, uint32_t resolution)
 ADC Set Resolution. More...
 
void adc_enable_overrun_interrupt (uint32_t adc)
 ADC Enable the Overrun Interrupt. More...
 
void adc_disable_overrun_interrupt (uint32_t adc)
 ADC Disable the Overrun Interrupt. More...
 
bool adc_get_overrun_flag (uint32_t adc)
 ADC Read the Overrun Flag. More...
 
void adc_clear_overrun_flag (uint32_t adc)
 ADC Clear Overrun Flags. More...
 
void adc_eoc_after_each (uint32_t adc)
 ADC Enable an EOC for Each Conversion. More...
 
void adc_eoc_after_group (uint32_t adc)
 ADC Disable the EOC for Each Conversion. More...
 
void adc_set_dma_continue (uint32_t adc)
 ADC Set DMA to Continue. More...
 
void adc_set_dma_terminate (uint32_t adc)
 ADC Set DMA to Terminate. More...
 
bool adc_awd (uint32_t adc)
 ADC Read the Analog Watchdog Flag. More...
 
void adc_enable_temperature_sensor (void)
 ADC Enable The Temperature Sensor. More...
 
void adc_disable_temperature_sensor (void)
 ADC Disable The Temperature Sensor. More...