ChibiOS/HAL 9.0.0
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.
adc_channels_num_t num_channels
 Number of the analog channels belonging to the conversion group.
adccallback_t end_cb
 Callback function associated to the group or NULL.
adcerrorcallback_t error_cb
 Error callback or NULL.

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 128 of file hal_adc.h.

Field Documentation

◆ circular

bool hal_adc_configuration_group::circular

Enables the circular buffer mode for the group.

Definition at line 132 of file hal_adc.h.

◆ num_channels

adc_channels_num_t hal_adc_configuration_group::num_channels

Number of the analog channels belonging to the conversion group.

Definition at line 136 of file hal_adc.h.

◆ end_cb

adccallback_t hal_adc_configuration_group::end_cb

Callback function associated to the group or NULL.

Definition at line 140 of file hal_adc.h.

◆ error_cb

adcerrorcallback_t hal_adc_configuration_group::error_cb

Error callback or NULL.

Definition at line 144 of file hal_adc.h.