MG32L003 Standard Peripherals Firmware Library
|
Modules | |
TIM_Exported_constants | |
Data Structures | |
struct | BaseTim_InitTypeDef |
BaseTim Init structure definition. More... | |
Functions | |
void | BaseTim_DeInit (BASETIM_TypeDef *TIMx) |
Deinitializes the TIMx peripheral registers to their default reset values. More... | |
void | BaseTim_Init (BASETIM_TypeDef *TIMx, BaseTim_InitTypeDef *BaseTim_InitStruct) |
Initializes the BaseTIMx Unit peripheral according to the specified parameters in the TIM_TimeBaseInitStruct. More... | |
void | BaseTim_Cmd (BASETIM_TypeDef *TIMx, FunctionalState NewState) |
void | BaseTim_ITConfig (BASETIM_TypeDef *TIMx, FunctionalState NewState) |
uint32_t | BaseTim_GetCounter (BASETIM_TypeDef *TIMx) |
void | BaseTim_SetLoad (BASETIM_TypeDef *TIMx, uint16_t load) |
void | BaseTim_SetBkLoad (BASETIM_TypeDef *TIMx, uint16_t bgLoad) |
FlagStatus | BaseTim_GetFlagStatus (BASETIM_TypeDef *TIMx) |
void | BaseTim_ClearFlag (BASETIM_TypeDef *TIMx) |
void BaseTim_DeInit | ( | BASETIM_TypeDef * | TIMx | ) |
Deinitializes the TIMx peripheral registers to their default reset values.
TIMx | where x can be 10 and 11 to select the BaseTIM peripheral. |
None |
void BaseTim_Init | ( | BASETIM_TypeDef * | TIMx, |
BaseTim_InitTypeDef * | BaseTim_InitStruct | ||
) |
Initializes the BaseTIMx Unit peripheral according to the specified parameters in the TIM_TimeBaseInitStruct.
TIMx | where x can be 1 to 8 to select the BaseTIM peripheral. |
TIM_TimeBaseInitStruct | pointer to a TIM_TimeBaseInitTypeDef structure that contains the configuration information for the specified BaseTIM peripheral. |
None |