函数 |
| __STATIC_INLINE void | LL_LPTIM_Enable (LPTIM_TypeDef *LPTIMx) |
| | 启用 LPTIM 实例。
|
| __STATIC_INLINE uint32_t | LL_LPTIM_IsEnabled (const LPTIM_TypeDef *LPTIMx) |
| | 指示 LPTIM 实例是否已启用。
|
| __STATIC_INLINE void | LL_LPTIM_StartCounter (LPTIM_TypeDef *LPTIMx, uint32_t OperatingMode) |
| | 以所需模式启动 LPTIM 计数器。
|
| __STATIC_INLINE void | LL_LPTIM_EnableResetAfterRead (LPTIM_TypeDef *LPTIMx) |
| | 启用读取后复位。
|
| __STATIC_INLINE void | LL_LPTIM_DisableResetAfterRead (LPTIM_TypeDef *LPTIMx) |
| | 禁用读取后复位。
|
| __STATIC_INLINE uint32_t | LL_LPTIM_IsEnabledResetAfterRead (const LPTIM_TypeDef *LPTIMx) |
| | 指示读取后复位功能是否启用。
|
| __STATIC_INLINE void | LL_LPTIM_ResetCounter (LPTIM_TypeDef *LPTIMx) |
| | 复位 LPTIM_CNT 计数器寄存器(同步)。
|
| __STATIC_INLINE void | LL_LPTIM_SetUpdateMode (LPTIM_TypeDef *LPTIMx, uint32_t UpdateMode) |
| | 设置 LPTIM 寄存器更新模式(启用/禁用寄存器预加载)
|
| __STATIC_INLINE uint32_t | LL_LPTIM_GetUpdateMode (const LPTIM_TypeDef *LPTIMx) |
| | 获取 LPTIM 寄存器更新模式。
|
| __STATIC_INLINE void | LL_LPTIM_SetAutoReload (LPTIM_TypeDef *LPTIMx, uint32_t AutoReload) |
| | 设置自动重载值。
|
| __STATIC_INLINE uint32_t | LL_LPTIM_GetAutoReload (const LPTIM_TypeDef *LPTIMx) |
| | 获取实际自动重载值。
|
| __STATIC_INLINE void | LL_LPTIM_SetCompare (LPTIM_TypeDef *LPTIMx, uint32_t CompareValue) |
| | 设置比较值。
|
| __STATIC_INLINE uint32_t | LL_LPTIM_GetCompare (const LPTIM_TypeDef *LPTIMx) |
| | 获取实际比较值。
|
| __STATIC_INLINE uint32_t | LL_LPTIM_GetCounter (const LPTIM_TypeDef *LPTIMx) |
| | 获取实际计数值。
|
| __STATIC_INLINE void | LL_LPTIM_SetCounterMode (LPTIM_TypeDef *LPTIMx, uint32_t CounterMode) |
| | 设置计数器模式(选择 LPTIM 计数器时钟源)。
|
| __STATIC_INLINE uint32_t | LL_LPTIM_GetCounterMode (const LPTIM_TypeDef *LPTIMx) |
| | 获取计数器模式。
|
| __STATIC_INLINE void | LL_LPTIM_ConfigOutput (LPTIM_TypeDef *LPTIMx, uint32_t Waveform, uint32_t Polarity) |
| | 配置 LPTIM 实例输出(LPTIMx_OUT)
|
| __STATIC_INLINE void | LL_LPTIM_SetWaveform (LPTIM_TypeDef *LPTIMx, uint32_t Waveform) |
| | 设置波形形状。
|
| __STATIC_INLINE uint32_t | LL_LPTIM_GetWaveform (const LPTIM_TypeDef *LPTIMx) |
| | 获取实际波形形状。
|
| __STATIC_INLINE void | LL_LPTIM_SetPolarity (LPTIM_TypeDef *LPTIMx, uint32_t Polarity) |
| | 设置输出极性。
|
| __STATIC_INLINE uint32_t | LL_LPTIM_GetPolarity (const LPTIM_TypeDef *LPTIMx) |
| | 获取实际输出极性。
|
| __STATIC_INLINE void | LL_LPTIM_SetPrescaler (LPTIM_TypeDef *LPTIMx, uint32_t Prescaler) |
| | 设置实际预分频器分频比。
|
| __STATIC_INLINE uint32_t | LL_LPTIM_GetPrescaler (const LPTIM_TypeDef *LPTIMx) |
| | 获取实际预分频器分频比。
|
| __STATIC_INLINE void | LL_LPTIM_SetInput1Src (LPTIM_TypeDef *LPTIMx, uint32_t Src) |
| | 设置 LPTIM 输入 1 源(默认 GPIO)。
|
| __STATIC_INLINE void | LL_LPTIM_SetInput2Src (LPTIM_TypeDef *LPTIMx, uint32_t Src) |
| | 设置 LPTIM 输入 2 源(默认 GPIO)。
|