|
STM32L4xx_HAL_Driver
1.14.0
|
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. More... | |
| __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. More... | |
| __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. More... | |
| __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. More... | |
| __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 STM32L4, parameter available only on ADC instance: ADC2. (3) On STM32L4, parameter available only on ADC instance: ADC3. (4) On STM32L4, parameter available only on ADC instances: ADC1, ADC3. (5) On STM32L4, parameter available on devices with only 1 ADC instance. (6) On STM32L4, parameter available on devices with several ADC instances. (7) On STM32L4, fast channel (0.188 us for 12-bit resolution (ADC conversion rate up to 5.33 Ms/s)). Other channels are slow channels (0.238 us for 12-bit resolution (ADC conversion rate up to 4.21 Ms/s)). |
| Returned | value can be one of the following values:
|
Definition at line 4738 of file stm32l4xx_ll_adc.h.
| __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 4846 of file stm32l4xx_ll_adc.h.
| __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 STM32L4, parameter available only on ADC instance: ADC2. (3) On STM32L4, parameter available only on ADC instance: ADC3. (4) On STM32L4, parameter available only on ADC instances: ADC1, ADC3. (5) On STM32L4, parameter available on devices with only 1 ADC instance. (6) On STM32L4, parameter available on devices with several ADC instances. (7) On STM32L4, fast channel (0.188 us for 12-bit resolution (ADC conversion rate up to 5.33 Ms/s)). Other channels are slow channels (0.238 us for 12-bit resolution (ADC conversion rate up to 4.21 Ms/s)). |
| SamplingTime | This parameter can be one of the following values:
|
| None |
Definition at line 4642 of file stm32l4xx_ll_adc.h.
| __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 4796 of file stm32l4xx_ll_adc.h.