![]() |
MINI51DE_BSP V3.02.004
The Board Support Package for Mini51DE Series MCU
|
MINI51 series TIMER driver source file. More...
#include "Mini51Series.h"
Go to the source code of this file.
Functions | |
uint32_t | TIMER_Open (TIMER_T *timer, uint32_t u32Mode, uint32_t u32Freq) |
This API is used to configure timer to operate in specified mode and frequency. If timer cannot work in target frequency, a closest frequency will be chose and returned. More... | |
void | TIMER_Close (TIMER_T *timer) |
This API stops Timer counting and disable the Timer interrupt function. More... | |
void | TIMER_Delay (TIMER_T *timer, uint32_t u32Usec) |
This API is used to create a delay loop for u32usec micro seconds. More... | |
void | TIMER_EnableCapture (TIMER_T *timer, uint32_t u32CapMode, uint32_t u32Edge) |
This API is used to enable timer capture function with specified mode and capture edge. More... | |
void | TIMER_DisableCapture (TIMER_T *timer) |
This API is used to disable the Timer capture function. More... | |
void | TIMER_EnableEventCounter (TIMER_T *timer, uint32_t u32Edge) |
This function is used to enable the Timer counter function with specify detection edge. More... | |
void | TIMER_DisableEventCounter (TIMER_T *timer) |
This API is used to disable the Timer event counter function. More... | |
uint32_t | TIMER_GetModuleClock (TIMER_T *timer) |
This API is used to get the clock frequency of Timer. More... | |
MINI51 series TIMER driver source file.
Definition in file timer.c.