MG32L003 Standard Peripherals Firmware Library
|
This file provides all the LPTIM firmware functions. More...
Functions | |
void | LPTIM_DeInit (void) |
Deinitializes the LPTIM peripheral registers to their default reset values. More... | |
void | LPTIM_BaseInit (LPTIM_BaseInitTypeDef *Base_InitStruct) |
Low Power Time base configuration. More... | |
void | LPTIM_TCKCmd (FunctionalState NewState) |
Enables or disables the LPTIM time clock. More... | |
void | LPTIM_Cmd (FunctionalState NewState) |
Enables or disables the LPTIM peripheral. More... | |
void | LPTIM_ITCmd (FunctionalState NewState) |
Enables or disables the LPTIM interrupt. More... | |
FlagStatus | LPTIM_GetFlagStatus (void) |
Checks whether the LPTIM interrupt flag is set or not. More... | |
ITStatus | LPTIM_GetITStatus (void) |
Checks whether the LPTIM interrupt is set or not. More... | |
void | LPTIM_ClearFlag (void) |
Clears the LPTIM pending interrupt flag. More... | |
void | LPTIM_ClearITPendingBit (void) |
Clears the LPTIM pending interrupt bit. More... | |
void | LPTIM_SetCounter (uint32_t Counter) |
Sets the LPTIM counter register value on runtime. More... | |
uint32_t | LPTIM_GetCounter (void) |
Gets LPTIM counter. More... | |
void | LPTIM_GateCmd (FunctionalState NewState) |
Enables or disables the LPTIM gate function. More... | |
void | LPTIM_ToggleCmd (FunctionalState NewState) |
Enables or disables the LPTIM toggle function. More... | |
void | LPTIM_SetGateLevel (uint32_t Level) |
Sets gate level high or low. More... | |
FlagStatus | LPTIM_GetSyncFlag (void) |
Waits for LPTIM WT sync finish. More... | |
This file provides all the LPTIM firmware functions.