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_power_on (uint32_t adc)
 ADC Power On. More...
 
void adc_start_conversion_direct (uint32_t adc)
 ADC Start a Conversion Without Trigger. More...
 
void adc_set_dual_mode (uint32_t mode)
 ADC Set Dual A/D Mode. More...
 
void adc_enable_temperature_sensor ()
 ADC Enable The Temperature Sensor. More...
 
void adc_disable_temperature_sensor ()
 ADC Disable The Temperature Sensor. More...
 
void adc_enable_external_trigger_regular (uint32_t adc, uint32_t trigger)
 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)
 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_reset_calibration (uint32_t adc)
 ADC Initialize Calibration Registers. More...
 
void adc_calibration (uint32_t adc)
 ADC Calibration. More...
 
void adc_calibrate_async (uint32_t adc)
 Start the ADC calibration and immediately return. More...
 
bool adc_is_calibrating (uint32_t adc)
 Is the ADC Calibrating? More...
 
void adc_calibrate (uint32_t adc)
 Start ADC calibration and wait for it to finish. More...
 
void adc_set_sample_time (uint32_t adc, uint8_t channel, uint8_t time)
 ADC Set the Sample Time for a Single Channel. More...
 
void adc_set_sample_time_on_all_channels (uint32_t adc, uint8_t time)
 ADC Set the Sample Time for All Channels. More...