![]() |
ChibiOS/RT Architecture - Reference Manual - Guides |
ADC Driver subsystem low level driver header template. More...
Go to the source code of this file.
Data Structures | |
| struct | ADCConversionGroup |
| Conversion group configuration structure. More... | |
| struct | ADCConfig |
| Driver configuration structure. More... | |
| struct | ADCDriver |
| Structure representing an ADC driver. More... | |
Typedefs | |
| typedef uint16_t | adcsample_t |
| ADC sample data type. | |
| typedef uint16_t | adc_channels_num_t |
| Channels number in a conversion group. | |
| typedef void(* | adccallback_t )(adcsample_t *buffer, size_t n) |
| ADC notification callback type. | |
Functions | |
| void | adc_lld_init (void) |
| Low level ADC driver initialization. | |
| void | adc_lld_start (ADCDriver *adcp) |
| Configures and activates the ADC peripheral. | |
| void | adc_lld_stop (ADCDriver *adcp) |
| Deactivates the ADC peripheral. | |
| void | adc_lld_start_conversion (ADCDriver *adcp) |
| Starts an ADC conversion. | |
| void | adc_lld_stop_conversion (ADCDriver *adcp) |
| Stops an ongoing conversion. | |
ADC Driver subsystem low level driver header template.
Definition in file templates/adc_lld.h.
1.7.1