STM32F479xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_ADC_SetChannelSamplingTime (ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SamplingTime) |
Set sampling time of the selected ADC channel Unit: ADC clock cycles. | |
__STATIC_INLINE uint32_t | LL_ADC_GetChannelSamplingTime (ADC_TypeDef *ADCx, uint32_t Channel) |
Get sampling time of the selected ADC channel Unit: ADC clock cycles. |
__STATIC_INLINE uint32_t LL_ADC_GetChannelSamplingTime | ( | ADC_TypeDef * | ADCx, |
uint32_t | Channel | ||
) |
Get sampling time of the selected ADC channel Unit: ADC clock cycles.
ADCx | ADC instance |
Channel | This parameter can be one of the following values:
(2) On devices STM32F42x and STM32F43x, limitation: this internal channel is shared between temperature sensor and Vbat, only 1 measurement path must be enabled. |
Returned | value can be one of the following values: |
Definition at line 3354 of file stm32f4xx_ll_adc.h.
References __ADC_MASK_SHIFT, __ADC_PTR_REG_OFFSET, ADC_CHANNEL_SMPRX_REGOFFSET_MASK, and ADC_CHANNEL_SMPx_BITOFFSET_MASK.
__STATIC_INLINE void LL_ADC_SetChannelSamplingTime | ( | ADC_TypeDef * | ADCx, |
uint32_t | Channel, | ||
uint32_t | SamplingTime | ||
) |
Set sampling time of the selected ADC channel Unit: ADC clock cycles.
ADCx | ADC instance |
Channel | This parameter can be one of the following values:
(2) On devices STM32F42x and STM32F43x, limitation: this internal channel is shared between temperature sensor and Vbat, only 1 measurement path must be enabled. |
SamplingTime | This parameter can be one of the following values: |
None |
Definition at line 3277 of file stm32f4xx_ll_adc.h.
References __ADC_MASK_SHIFT, __ADC_PTR_REG_OFFSET, ADC_CHANNEL_SMPRX_REGOFFSET_MASK, and ADC_CHANNEL_SMPx_BITOFFSET_MASK.