STM32F439xx HAL User Manual
Data Fields
ADC_ChannelConfTypeDef Struct Reference

Structure definition of ADC channel for regular group. More...

#include <stm32f4xx_hal_adc.h>

Data Fields

uint32_t Channel
uint32_t Rank
uint32_t SamplingTime
uint32_t Offset

Detailed Description

Structure definition of ADC channel for regular group.

Note:
The setting of these parameters with function HAL_ADC_ConfigChannel() is conditioned to ADC state. ADC can be either disabled or enabled without conversion on going on regular group.

Definition at line 131 of file stm32f4xx_hal_adc.h.


Field Documentation

Specifies the channel to configure into ADC regular group. This parameter can be a value of ADC Common Channels

Definition at line 133 of file stm32f4xx_hal_adc.h.

Referenced by HAL_ADC_ConfigChannel().

Reserved for future use, can be set to 0

Definition at line 146 of file stm32f4xx_hal_adc.h.

Specifies the rank in the regular group sequencer. This parameter must be a number between Min_Data = 1 and Max_Data = 16

Definition at line 135 of file stm32f4xx_hal_adc.h.

Referenced by HAL_ADC_ConfigChannel().

Sampling time value to be set for the selected channel. Unit: ADC clock cycles Conversion time is the addition of sampling time and processing time (12 ADC clock cycles at ADC resolution 12 bits, 11 cycles at 10 bits, 9 cycles at 8 bits, 7 cycles at 6 bits). This parameter can be a value of ADC Sampling Times Caution: This parameter updates the parameter property of the channel, that can be used into regular and/or injected groups. If this same channel has been previously configured in the other group (regular/injected), it will be updated to last setting. Note: In case of usage of internal measurement channels (VrefInt/Vbat/TempSensor), sampling time constraints must be respected (sampling time can be adjusted in function of ADC clock frequency and sampling time setting) Refer to device datasheet for timings values, parameters TS_vrefint, TS_temp (values rough order: 4us min).

Definition at line 137 of file stm32f4xx_hal_adc.h.

Referenced by HAL_ADC_ConfigChannel().


The documentation for this struct was generated from the following file: