STM32L486xx HAL User Manual
Data Fields
LPTIM_InitTypeDef Struct Reference

LPTIM Initialization Structure definition. More...

#include <stm32l4xx_hal_lptim.h>

Data Fields

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

Detailed Description

LPTIM Initialization Structure definition.

Definition at line 111 of file stm32l4xx_hal_lptim.h.


Field Documentation

Specifies whether the counter is incremented each internal event or each external event. This parameter can be a value of LPTIM Counter Source

Definition at line 126 of file stm32l4xx_hal_lptim.h.

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

Specifies source selected for input1 (GPIO or comparator output). This parameter can be a value of LPTIM Input1 Source

Definition at line 130 of file stm32l4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Init().

Specifies source selected for input2 (GPIO or comparator output). Note: This parameter is used only for encoder feature so is used only for LPTIM1 instance. This parameter can be a value of LPTIM Input2 Source

Definition at line 133 of file stm32l4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Init().

Specifies the Output polarity. This parameter can be a value of LPTIM Output Polarity

Definition at line 119 of file stm32l4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Init().

Specifies the Ultra Low Power clock parameters

Definition at line 115 of file stm32l4xx_hal_lptim.h.

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

Specifies whether the update of the autoreload and the compare values is done immediately or after the end of current period. This parameter can be a value of LPTIM Updating Mode

Definition at line 122 of file stm32l4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Init().


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