MG32L003 Standard Peripherals Firmware Library
|
LPTIM Time base Configuration Structure definition. More...
#include <mg32l003_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 |
LPTIM Time base Configuration Structure definition.
uint32_t AutoReload |
Specifies Timer auto reload enable or disable. This parameter can be a value of LPTIM_Auto_Reload
uint32_t ClkSel |
Specifies low power timer clock. This parameter can be a value of LPTIM_Clock_Source_Selection
uint32_t CntTimSel |
Specifies Counter/Timer function selection. This parameter can be a value of LPTIM_Counter/Timer_Selection
uint32_t GateEnable |
Specifies gate function enable or disable. This parameter can be a value of LPTIM_Gate_Enable
uint32_t GateLevel |
Specifies gate level high or low. This parameter can be a value of LPTIM_Gate_Level_Selection
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.
uint32_t TogEnable |
Specifies tog function enable or disable. This parameter can be a value of LPTIM_Toggle_Enable