| NANO102/112 BSP V3.04.000 The Board Support Package for Nano102/112 Series

Macros | Functions
wdt.h File Reference

Nano102/112 series WDT driver header file. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | WDT_TIMEOUT_2POW4 (0UL << WDT_CTL_WTIS_Pos)
#define | WDT_TIMEOUT_2POW6 (1UL << WDT_CTL_WTIS_Pos)
#define | WDT_TIMEOUT_2POW8 (2UL << WDT_CTL_WTIS_Pos)
#define | WDT_TIMEOUT_2POW10 (3UL << WDT_CTL_WTIS_Pos)
#define | WDT_TIMEOUT_2POW12 (4UL << WDT_CTL_WTIS_Pos)
#define | WDT_TIMEOUT_2POW14 (5UL << WDT_CTL_WTIS_Pos)
#define | WDT_TIMEOUT_2POW16 (6UL << WDT_CTL_WTIS_Pos)
#define | WDT_TIMEOUT_2POW18 (7UL << WDT_CTL_WTIS_Pos)
#define | WDT_RESET_DELAY_3CLK (3UL << WDT_CTL_WTRDSEL_Pos)
#define | WDT_RESET_DELAY_18CLK (2UL << WDT_CTL_WTRDSEL_Pos)
#define | WDT_RESET_DELAY_130CLK (1UL << WDT_CTL_WTRDSEL_Pos)
#define | WDT_RESET_DELAY_1026CLK (0UL << WDT_CTL_WTRDSEL_Pos)
#define | WDT_CLEAR_RESET_FLAG()
| This macro clear WDT time-out reset system flag. More...
#define | WDT_CLEAR_TIMEOUT_INT_FLAG()
| This macro clear WDT time-out interrupt flag. More...
#define | WDT_CLEAR_TIMEOUT_WAKEUP_FLAG()
| This macro clear WDT time-out wake-up system flag. More...
#define | WDT_GET_RESET_FLAG()
| This macro indicate WDT time-out to reset system or not. More...
#define | WDT_GET_TIMEOUT_INT_FLAG()
| This macro indicate WDT time-out interrupt occurred or not. More...
#define | WDT_GET_TIMEOUT_WAKEUP_FLAG()
| This macro indicate WDT time-out waked system up or not. More...
#define | WDT_RESET_COUNTER()
| This macro is used to reset 18-bit WDT counter. More...

## Functions
__STATIC_INLINE void | WDT_Close (void)
| This function stops WDT counting and disable WDT module. More...
__STATIC_INLINE void | WDT_EnableInt (void)
| This function enables the WDT time-out interrupt. More...
__STATIC_INLINE void | WDT_DisableInt (void)
| This function disables the WDT time-out interrupt. More...
void | WDT_Open (uint32_t u32TimeoutInterval, uint32_t u32ResetDelay, uint32_t u32EnableReset, uint32_t u32EnableWakeup)
| This function make WDT module start counting with different time-out interval. More...

## Detailed Description

Nano102/112 series WDT driver header file.

Version
  V1.00

Revision
  7

Date
  14/11/27 11:50a

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

Definition in file wdt.h.