NANO103 BSP V3.01.004
The Board Support Package for Nano103 Series
Macros | Functions
wwdt.h File Reference

NANO103 series WWDT 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 WWDT_PRESCALER_1   (0UL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_2   (1UL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_4   (2UL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_8   (3UL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_16   (4UL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_32   (5UL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_64   (6UL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_128   (7UL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_192   (8UL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_256   (9UL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_384   (0xAUL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_512   (0xBUL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_768   (0xCUL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_1024   (0xDUL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_1536   (0xEUL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_PRESCALER_2048   (0xFUL << WWDT_CTL_PERIODSEL_Pos)
 
#define WWDT_RELOAD_WORD   (0x00005AA5)
 
#define WWDT_CLEAR_RESET_FLAG()
 This macro clear WWDT time-out reset system flag. More...
 
#define WWDT_CLEAR_INT_FLAG()
 This macro clears WWDT compare match interrupt flag. More...
 
#define WWDT_GET_RESET_FLAG()
 This macro is use to get WWDT time-out reset system flag. More...
 
#define WWDT_GET_INT_FLAG()
 This macro is used to indicate WWDT compare match interrupt flag. More...
 
#define WWDT_GET_COUNTER()
 This macro to reflects current WWDT counter value. More...
 
#define WWDT_RELOAD_COUNTER()
 This macro is used to reload the WWDT counter value to 0x3F. More...
 

Functions

void WWDT_Open (uint32_t u32PreScale, uint32_t u32CmpValue, uint32_t u32EnableInt)
 This function make WWDT module start counting with different counter period and compared window value. More...
 

Detailed Description

NANO103 series WWDT driver header file.

Version
V1.00
Revision
2
Date
15/12/07 5:41p
Note
SPDX-License-Identifier: Apache-2.0 Copyright (C) 2015 Nuvoton Technology Corp. All rights reserved.

Definition in file wwdt.h.