| Mini51 BSP V3.02.002 The Board Support Package for Mini51 Series

Functions
timer.c File Reference

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...

## Detailed Description

MINI51 series TIMER driver source file.

Version
  V1.00

Revision
  11

Date
  14/01/28 10:29a

Note
  SPDX-License-Identifier: Apache-2.0 Copyright (C) 2013 Nuvoton Technology Corp. All rights reserved.

Definition in file timer.c.