STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
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 |
Structure definition of ADC channel for regular group.
Definition at line 117 of file stm32f4xx_hal_adc.h.
uint32_t ADC_ChannelConfTypeDef::Channel |
Specifies the channel to configure into ADC regular group. This parameter can be a value of ADC Common Channels
Definition at line 119 of file stm32f4xx_hal_adc.h.
Referenced by HAL_ADC_ConfigChannel().
uint32_t ADC_ChannelConfTypeDef::Rank |
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 121 of file stm32f4xx_hal_adc.h.
Referenced by HAL_ADC_ConfigChannel().
uint32_t ADC_ChannelConfTypeDef::SamplingTime |
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 123 of file stm32f4xx_hal_adc.h.
Referenced by HAL_ADC_ConfigChannel().
uint32_t ADC_ChannelConfTypeDef::Offset |
Reserved for future use, can be set to 0
Definition at line 132 of file stm32f4xx_hal_adc.h.