| NUC472_NUC442_BSP V3.04.000 The Board Support Package for NUC472/NUC442

Functions
timer.c File Reference

NUC472/NUC442 TIMER driver source file. More...

`#include "NUC472_442.h"`
Include dependency graph for timer.c:

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

NUC472/NUC442 TIMER driver source file.

Version
  V1.00

Revision
  7

Date
  15/11/12 9:55a

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

Definition in file timer.c.