ChibiOS/HAL  6.1.0
ADCConversionGroup Struct Reference

Conversion group configuration structure. More...

#include <hal_adc_lld.h>

Collaboration diagram for ADCConversionGroup:
Collaboration graph

Data Fields

bool circular
 Enables the circular buffer mode for the group. More...
 
adc_channels_num_t num_channels
 Number of the analog channels belonging to the conversion group. More...
 
adccallback_t end_cb
 Callback function associated to the group or NULL. More...
 
adcerrorcallback_t error_cb
 Error callback or NULL. More...
 

Detailed Description

Conversion group configuration structure.

This implementation-dependent structure describes a conversion operation.

Note
The use of this configuration structure requires knowledge of PLATFORM ADC cell registers interface, please refer to the PLATFORM reference manual for details.

Definition at line 113 of file hal_adc_lld.h.

Field Documentation

bool ADCConversionGroup::circular

Enables the circular buffer mode for the group.

Definition at line 117 of file hal_adc_lld.h.

adc_channels_num_t ADCConversionGroup::num_channels

Number of the analog channels belonging to the conversion group.

Definition at line 121 of file hal_adc_lld.h.

adccallback_t ADCConversionGroup::end_cb

Callback function associated to the group or NULL.

Definition at line 125 of file hal_adc_lld.h.

adcerrorcallback_t ADCConversionGroup::error_cb

Error callback or NULL.

Definition at line 129 of file hal_adc_lld.h.