WB32L003 Standard Peripherals Firmware Library

Data Fields
LPTIM_BaseInitTypeDef Struct Reference
WB32L003_StdPeriph_Driver » LPTIM

LPTIM Time base Configuration Structure definition. More...

`#include <wb32l003_lptim.h>`

## Data Fields
uint32_t | GateEnable
uint32_t | GateLevel
uint32_t | ClkSel
uint32_t | TogEnable
uint32_t | CntTimSel
uint32_t | AutoReload
uint32_t | Period

## Detailed Description

LPTIM Time base Configuration Structure definition.

Note
  This structure is for LPTIM

## Field Documentation

## ◆ AutoReload

uint32_t AutoReload

Specifies Timer auto reload enable or disable. This parameter can be a value of LPTIM_Auto_Reload

## ◆ ClkSel

uint32_t ClkSel

Specifies low power timer clock. This parameter can be a value of LPTIM_Clock_Source_Selection

## ◆ CntTimSel

uint32_t CntTimSel

Specifies Counter/Timer function selection. This parameter can be a value of LPTIM_Counter/Timer_Selection

## ◆ GateEnable

uint32_t GateEnable

Specifies gate function enable or disable. This parameter can be a value of LPTIM_Gate_Enable

## ◆ GateLevel

uint32_t GateLevel

Specifies gate level high or low. This parameter can be a value of LPTIM_Gate_Level_Selection

## ◆ Period

uint32_t Period

Specifies the period value to be loaded into the active CNT value immediately through LOAD register or periodly through BGLOAD register refer to mode specified by LPTIM_AutoReload. Period caculation = (MaxCntLevel - Period)/(LPTIM clock) This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF.

## ◆ TogEnable

uint32_t TogEnable

Specifies tog function enable or disable. This parameter can be a value of LPTIM_Toggle_Enable

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

- wb32l003_lptim.h