STM32H735xx 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 void | LL_ADC_SetChannelSingleDiff (ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SingleDiff) |
Set mode single-ended or differential input of the selected ADC channel. | |
__STATIC_INLINE uint32_t | LL_ADC_GetChannelSingleDiff (ADC_TypeDef *ADCx, uint32_t Channel) |
Get mode single-ended or differential input of the selected ADC channel. |
__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 STM32H7, parameter available only on ADC instance: ADC2. (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). Other channels are slow channels (conversion rate: refer to reference manual). |
Returned | value can be one of the following values: |
Definition at line 5427 of file stm32h7xx_ll_adc.h.
References __ADC_PTR_REG_OFFSET, ADC_CHANNEL_SMPRX_REGOFFSET_MASK, ADC_CHANNEL_SMPx_BITOFFSET_MASK, ADC_CHANNEL_SMPx_BITOFFSET_POS, and ADC_SMPRX_REGOFFSET_POS.
__STATIC_INLINE uint32_t LL_ADC_GetChannelSingleDiff | ( | ADC_TypeDef * | ADCx, |
uint32_t | Channel | ||
) |
Get mode single-ended or differential input of the selected ADC channel.
ADCx | ADC instance |
Channel | This parameter can be a combination of the following values: |
0,: | channel in single-ended mode, else: channel in differential mode |
Definition at line 5559 of file stm32h7xx_ll_adc.h.
References ADC_SINGLEDIFF_CHANNEL_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 STM32H7, parameter available only on ADC instance: ADC2. (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). Other channels are slow channels (conversion rate: refer to reference manual). |
SamplingTime | This parameter can be one of the following values: |
None |
Definition at line 5342 of file stm32h7xx_ll_adc.h.
References __ADC_PTR_REG_OFFSET, ADC_CHANNEL_SMPRX_REGOFFSET_MASK, ADC_CHANNEL_SMPx_BITOFFSET_MASK, ADC_CHANNEL_SMPx_BITOFFSET_POS, and ADC_SMPRX_REGOFFSET_POS.
Referenced by HAL_ADC_ConfigChannel(), and HAL_ADCEx_InjectedConfigChannel().
__STATIC_INLINE void LL_ADC_SetChannelSingleDiff | ( | ADC_TypeDef * | ADCx, |
uint32_t | Channel, | ||
uint32_t | SingleDiff | ||
) |
Set mode single-ended or differential input of the selected ADC channel.
ADCx | ADC instance |
Channel | This parameter can be one of the following values: |
SingleDiff | This parameter can be a combination of the following values: |
None |
Definition at line 5488 of file stm32h7xx_ll_adc.h.
References ADC_SINGLEDIFF_CHANNEL_MASK, and ADC_SINGLEDIFF_CHANNEL_SHIFT_MASK.
Referenced by HAL_ADC_ConfigChannel(), and HAL_ADCEx_InjectedConfigChannel().