STM32G474xx HAL用户手册
数据字段
LPTIM_InitTypeDef结构体参考

LPTIM初始化结构体定义。 更多...

#include <stm32g4xx_hal_lptim.h>

数据字段

LPTIM_ClockConfigTypeDef Clock
LPTIM_ULPClockConfigTypeDef UltraLowPowerClock
LPTIM_TriggerConfigTypeDef Trigger
uint32_t OutputPolarity
uint32_t UpdateMode
uint32_t CounterSource
uint32_t Input1Source
uint32_t Input2Source

详细说明

LPTIM初始化结构体定义。

Definition at line 97 of file stm32g4xx_hal_lptim.h.


字段说明

指定计数器是在每个内部事件还是每个外部事件时递增。此参数可以是LPTIM计数器源的值。

Definition at line 112 of file stm32g4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Counter_Start(), HAL_LPTIM_Counter_Start_IT(), and HAL_LPTIM_Init().

指定为input1选择的源(GPIO或比较器输出)。此参数可以是LPTIM输入1源的值。

Definition at line 116 of file stm32g4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Init().

指定为input2选择的源(GPIO或比较器输出)。注意:此参数仅用于编码器功能,因此仅用于LPTIM1实例。此参数可以是LPTIM输入2源的值。

Definition at line 119 of file stm32g4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Init().

指定输出极性。此参数可以是LPTIM输出极性的值。

Definition at line 105 of file stm32g4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Init().

指定超低功耗时钟参数。

Definition at line 101 of file stm32g4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Encoder_Start(), HAL_LPTIM_Encoder_Start_IT(), and HAL_LPTIM_Init().

指定自动重装载和比较值的更新是立即执行还是在当前周期结束后执行。此参数可以是LPTIM更新模式的值。

Definition at line 108 of file stm32g4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Init().


The documentation for this struct was generated from the following file: