STM32G474xx HAL用户手册
定义
触发极性
LPTIM导出常量

定义

#define LL_LPTIM_TRIG_POLARITY_RISING   LPTIM_CFGR_TRIGEN_0
#define LL_LPTIM_TRIG_POLARITY_FALLING   LPTIM_CFGR_TRIGEN_1
#define LL_LPTIM_TRIG_POLARITY_RISING_FALLING   LPTIM_CFGR_TRIGEN

定义文档

#define LL_LPTIM_TRIG_POLARITY_FALLING   LPTIM_CFGR_TRIGEN_1

检测到下降沿时LPTIM计数器开始计数

Definition at line 232 of file stm32g4xx_ll_lptim.h.

#define LL_LPTIM_TRIG_POLARITY_RISING   LPTIM_CFGR_TRIGEN_0

检测到上升沿时LPTIM计数器开始计数

Definition at line 231 of file stm32g4xx_ll_lptim.h.

#define LL_LPTIM_TRIG_POLARITY_RISING_FALLING   LPTIM_CFGR_TRIGEN

检测到上升沿或下降沿时LPTIM计数器开始计数

Definition at line 233 of file stm32g4xx_ll_lptim.h.