|
STM32G474xx HAL用户手册
|
函数 | |
| __STATIC_INLINE void | LL_EnableTimeout (LPTIM_TypeDef *LPTIMx) |
| 使能超时功能。 | |
| __STATIC_INLINE void | LL_LPTIM_DisableTimeout (LPTIM_HandleTypeDef *LPTIMx) |
| 禁用超时功能。 | |
| __STATIC_INLINE uint32_t | LL_LPTIM_IsEnabledTimeout (const LPTIM_TypeDef *LPTIMx) |
| 检查超时功能是否已使能。 | |
| __STATIC_INLINE void | LL_LPTIM_TrigSw (LPTIM_TypeDef *LPTIMx) |
| 启动LPTIM计数器。 | |
| __STATIC_INLINE void | LL_LPTIM_ConfigTrigger (LPTIM_TypeDef *LPTIMx, uint32_t Source, uint32_t Filter, uint32_t Polarity) |
| 配置用作LPTIM触发事件的外部触发器。 | |
| __STATIC_INLINE uint32_t | LL_LPTIM_GetTriggerSource (const LPTIM_TypeDef *LPTIMx) |
| 获取当前外部触发源。 | |
| __STATIC_INLINE uint32_t | LL_LPTIM_GetTriggerFilter (const LPTIM_TypeDef *LPTIMx) |
| 获取当前外部触发滤波器。 | |
| __STATIC_INLINE uint32_t | LL_LPTIM_GetTriggerPolarity (const LPTIM_TypeDef *LPTIMx) |
| 获取当前外部触发极性。 | |
| __STATIC_INLINE void LL_LPTIM_ConfigTrigger | ( | LPTIM_TypeDef * | LPTIMx, |
| uint32_t | Source, | ||
| uint32_t | Filter, | ||
| uint32_t | Polarity | ||
| ) |
配置用作LPTIM触发事件的外部触发器。
| LPTIMx | 低功耗定时器实例 |
| Source | 此参数可以是以下值之一:
|
| Filter | 此参数可以是以下值之一: |
| Polarity | 此参数可以是以下值之一: |
| 无 |
定义于文件 stm32g4xx_ll_lptim.h 的第 853 行。
| __STATIC_INLINE void LL_LPTIM_DisableTimeout | ( | LPTIM_TypeDef * | LPTIMx | ) |
禁用超时功能。
| LPTIMx | 低功耗定时器实例 |
| 无 |
定义于文件 stm32g4xx_ll_lptim.h 的第 788 行。
| __STATIC_INLINE void LL_LPTIM_EnableTimeout | ( | LPTIM_TypeDef * | LPTIMx | ) |
使能超时功能。
| LPTIMx | 低功耗定时器实例 |
| 无 |
定义于文件 stm32g4xx_ll_lptim.h 的第 774 行。
| __STATIC_INLINE uint32_t LL_LPTIM_GetTriggerFilter | ( | const LPTIM_TypeDef * | LPTIMx | ) |
获取当前外部触发滤波器。
| LPTIMx | 低功耗定时器实例 |
| 返回值 | 可以是以下值之一: |
定义于文件 stm32g4xx_ll_lptim.h 的第 894 行。
| __STATIC_INLINE uint32_t LL_LPTIM_GetTriggerPolarity | ( | const LPTIM_TypeDef * | LPTIMx | ) |
获取当前外部触发极性。
| LPTIMx | 低功耗定时器实例 |
| 返回值 | 可以是以下值之一: |
定义于文件 stm32g4xx_ll_lptim.h 的第 908 行。
| __STATIC_INLINE uint32_t LL_LPTIM_GetTriggerSource | ( | const LPTIM_TypeDef * | LPTIMx | ) |
获取当前外部触发源。
| LPTIMx | 低功耗定时器实例 |