函数 |
| __STATIC_INLINE void | LL_ADC_SetCalibrationFactor (ADC_TypeDef *ADCx, uint32_t SingleDiff, uint32_t CalibrationFactor) |
| | 在单端或差分模式下设置ADC校准因子(适用于具有差分模式的设备)。
|
| __STATIC_INLINE uint32_t | LL_ADC_GetCalibrationFactor (const ADC_TypeDef *ADCx, uint32_t SingleDiff) |
| | 在单端或差分模式下获取ADC校准因子(适用于具有差分模式的设备)。
|
| __STATIC_INLINE void | LL_ADC_SetResolution (ADC_TypeDef *ADCx, uint32_t Resolution) |
| | 设置ADC分辨率。
|
| __STATIC_INLINE uint32_t | LL_ADC_GetResolution (const ADC_TypeDef *ADCx) |
| | 获取ADC分辨率。
|
| __STATIC_INLINE void | LL_ADC_SetDataAlignment (ADC_TypeDef *ADCx, uint32_t DataAlignment) |
| | 设置ADC转换数据对齐方式。
|
| __STATIC_INLINE uint32_t | LL_ADC_GetDataAlignment (const ADC_TypeDef *ADCx) |
| | 获取ADC转换数据对齐方式。
|
| __STATIC_INLINE void | LL_ADC_SetLowPowerMode (ADC_TypeDef *ADCx, uint32_t LowPowerMode) |
| | 设置ADC低功耗模式。
|
| __STATIC_INLINE uint32_t | LL_ADC_GetLowPowerMode (const ADC_TypeDef *ADCx) |
| | 获取ADC低功耗模式:
|
| __STATIC_INLINE void | LL_ADC_SetOffset (ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t Channel, uint32_t OffsetLevel) |
| | 设置ADC选定的偏移实例1、2、3或4。
|
| __STATIC_INLINE uint32_t | LL_ADC_GetOffsetChannel (const ADC_TypeDef *ADCx, uint32_t Offsety) |
| | 获取ADC选定的偏移实例1、2、3或4:将应用所编程偏移的通道(独立于映射到ADC规则组或注入组的通道)
|
| __STATIC_INLINE uint32_t | LL_ADC_GetOffsetLevel (const ADC_TypeDef *ADCx, uint32_t Offsety) |
| | 获取ADC选定的偏移实例1、2、3或4:偏移电平(要从原始转换数据中减去的偏移量)。
|
| __STATIC_INLINE void | LL_ADC_SetOffsetState (ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t OffsetState) |
| | 设置ADC选定的偏移实例1、2、3或4:强制偏移状态禁用或启用,而不修改偏移通道或偏移值。
|
| __STATIC_INLINE uint32_t | LL_ADC_GetOffsetState (const ADC_TypeDef *ADCx, uint32_t Offsety) |
| | 获取ADC选定的偏移实例1、2、3或4:偏移状态禁用或启用。
|
| __STATIC_INLINE void | LL_ADC_SetOffsetSign (ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t OffsetSign) |
| | 设置ADC选定的偏移实例1、2、3或4:选择偏移符号。
|
| __STATIC_INLINE uint32_t | LL_ADC_GetOffsetSign (const ADC_TypeDef *ADCx, uint32_t Offsety) |
| | 获取ADC选定的偏移实例1、2、3或4:偏移符号是正还是负。
|
| __STATIC_INLINE void | LL_ADC_SetOffsetSaturation (ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t OffsetSaturation) |
| | 设置ADC选定的偏移实例1、2、3或4:选择偏移饱和模式。
|
| __STATIC_INLINE uint32_t | LL_ADC_GetOffsetSaturation (const ADC_TypeDef *ADCx, uint32_t Offsety) |
| | 获取ADC选定的偏移实例1、2、3或4:偏移饱和是启用还是禁用。
|
| __STATIC_INLINE void | LL_ADC_SetGainCompensation (ADC_TypeDef *ADCx, uint32_t GainCompensation) |
| | 设置ADC增益补偿。
|
| __STATIC_INLINE uint32_t | LL_ADC_GetGainCompensation (const ADC_TypeDef *ADCx) |
| | 获取ADC增益补偿值。
|
| __STATIC_INLINE void | LL_ADC_SetSamplingTimeCommonConfig (ADC_TypeDef *ADCx, uint32_t SamplingTimeCommonConfig) |
| | 设置ADC采样时间通用配置,该配置影响各通道的采样时间设置。
|
| __STATIC_INLINE uint32_t | LL_ADC_GetSamplingTimeCommonConfig (const ADC_TypeDef *ADCx) |
| | 获取ADC采样时间通用配置,该配置影响各通道的采样时间设置。
|