|
ChibiOS
21.6.0
|
PLATFORM ADC subsystem low level driver header. More...
Go to the source code of this file.
Macros | |
| #define | adc_lld_driver_fields |
| Low level fields of the ADC driver structure. More... | |
| #define | adc_lld_config_fields |
| Low level fields of the ADC configuration structure. More... | |
| #define | adc_lld_configuration_group_fields |
| Low level fields of the ADC configuration structure. More... | |
Possible ADC errors mask bits. | |
| #define | ADC_ERR_DMAFAILURE 1U |
| #define | ADC_ERR_OVERFLOW 2U |
| #define | ADC_ERR_AWD 4U |
PLATFORM configuration options | |
| #define | PLATFORM_ADC_USE_ADC1 FALSE |
| ADC1 driver enable switch. More... | |
Typedefs | |
| typedef uint16_t | adcsample_t |
| ADC sample data type. More... | |
| typedef uint16_t | adc_channels_num_t |
| Channels number in a conversion group. More... | |
| typedef uint32_t | adcerror_t |
| Type of an ADC error mask. More... | |
Functions | |
| void | adc_lld_init (void) |
| Low level ADC driver initialization. More... | |
| void | adc_lld_start (ADCDriver *adcp) |
| Configures and activates the ADC peripheral. More... | |
| void | adc_lld_stop (ADCDriver *adcp) |
| Deactivates the ADC peripheral. More... | |
| void | adc_lld_start_conversion (ADCDriver *adcp) |
| Starts an ADC conversion. More... | |
| void | adc_lld_stop_conversion (ADCDriver *adcp) |
| Stops an ongoing conversion. More... | |
PLATFORM ADC subsystem low level driver header.
Definition in file hal_adc_lld.h.