ChibiOS/HAL  7.0.3
hal_adc_configuration_group Struct Reference

Conversion group configuration structure. More...

#include <hal_adc.h>

Collaboration diagram for hal_adc_configuration_group:
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 STM32 ADC cell registers interface, please refer to the STM32 reference manual for details.

Definition at line 127 of file hal_adc.h.

Field Documentation

bool hal_adc_configuration_group::circular

Enables the circular buffer mode for the group.

Definition at line 131 of file hal_adc.h.

adc_channels_num_t hal_adc_configuration_group::num_channels

Number of the analog channels belonging to the conversion group.

Definition at line 135 of file hal_adc.h.

adccallback_t hal_adc_configuration_group::end_cb

Callback function associated to the group or NULL.

Definition at line 139 of file hal_adc.h.

adcerrorcallback_t hal_adc_configuration_group::error_cb

Error callback or NULL.

Definition at line 143 of file hal_adc.h.