![]() |
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
M480 Timer Controller(Timer) driver source file. More...
#include "NuMicro.h"
Go to the source code of this file.
Functions | |
uint32_t | TIMER_Open (TIMER_T *timer, uint32_t u32Mode, uint32_t u32Freq) |
Open Timer with Operate Mode and Frequency. More... | |
void | TIMER_Close (TIMER_T *timer) |
Stop Timer Counting. More... | |
int32_t | TIMER_Delay (TIMER_T *timer, uint32_t u32Usec) |
Create a specify Delay Time. More... | |
void | TIMER_EnableCapture (TIMER_T *timer, uint32_t u32CapMode, uint32_t u32Edge) |
Enable Timer Capture Function. More... | |
void | TIMER_DisableCapture (TIMER_T *timer) |
Disable Timer Capture Function. More... | |
void | TIMER_EnableEventCounter (TIMER_T *timer, uint32_t u32Edge) |
Enable Timer Counter Function. More... | |
void | TIMER_DisableEventCounter (TIMER_T *timer) |
Disable Timer Counter Function. More... | |
uint32_t | TIMER_GetModuleClock (TIMER_T *timer) |
Get Timer Clock Frequency. More... | |
void | TIMER_EnableFreqCounter (TIMER_T *timer, uint32_t u32DropCount, uint32_t u32Timeout, uint32_t u32EnableInt) |
This function is used to enable the Timer frequency counter function. More... | |
void | TIMER_DisableFreqCounter (TIMER_T *timer) |
This function is used to disable the Timer frequency counter function. More... | |
void | TIMER_SetTriggerSource (TIMER_T *timer, uint32_t u32Src) |
This function is used to select the interrupt source used to trigger other modules. More... | |
void | TIMER_SetTriggerTarget (TIMER_T *timer, uint32_t u32Mask) |
This function is used to set modules trigger by timer interrupt. More... | |
int32_t | TIMER_ResetCounter (TIMER_T *timer) |
Reset Counter. More... | |
M480 Timer Controller(Timer) driver source file.
SPDX-License-Identifier: Apache-2.0
Definition in file timer.c.