MG32L003 Standard Peripherals Firmware Library

模块 | 结构体 | 函数
BASETIM
MG32L003_StdPeriph_Driver

## 模块
| TIM_Exported_constants

## 结构体
struct | BaseTim_InitTypeDef
| BaseTim Init structure definition 更多...

## 函数
void | BaseTim_DeInit (BASETIM_TypeDef *TIMx)
| Deinitializes the TIMx peripheral registers to their default reset values. 更多...
void | BaseTim_Init (BASETIM_TypeDef *TIMx, BaseTim_InitTypeDef *BaseTim_InitStruct)
| Initializes the BaseTIMx Unit peripheral according to the specified parameters in the TIM_TimeBaseInitStruct. 更多...
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)

## 详细描述

## 函数说明

## ◆ BaseTim_DeInit()

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 |

## ◆ BaseTim_Init()

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 |