STM32G474xx HAL用户手册
宏定义
计数器模式
HRTIM导出常量

定义回滚计数器模式的常量。 更多...

宏定义

#define LL_HRTIM_ROLLOVER_MODE_PER   2U
#define LL_HRTIM_ROLLOVER_MODE_RST   1U
#define LL_HRTIM_ROLLOVER_MODE_BOTH   0U

详细描述

定义回滚计数器模式的常量。


宏定义说明

#define LL_HRTIM_ROLLOVER_MODE_BOTH   0U

当计数器同时满足两个条件(0或HRTIM_PERxR值)时生成事件

Definition at line 1982 of file stm32g4xx_ll_hrtim.h.

#define LL_HRTIM_ROLLOVER_MODE_PER   2U

当计数器达到周期值时生成事件('波峰'模式)

Definition at line 1980 of file stm32g4xx_ll_hrtim.h.

#define LL_HRTIM_ROLLOVER_MODE_RST   1U

当计数器等于0时生成事件('波谷'模式)

Definition at line 1981 of file stm32g4xx_ll_hrtim.h.