MG32L003 Standard Peripherals Firmware Library
Functions
mg32l003_basetim.c File Reference

This file provides all the BaseTIM firmware functions. More...

#include "mg32l003_basetim.h"

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)
 

Detailed Description

This file provides all the BaseTIM firmware functions.

Author
megawinTech Application Team
Version
V0.0.5
Date
13-August-2024