NHS31xx SW API
wwdt_nss.h
1 /*
2  * Copyright 2014-2017,2020 NXP
3  * This software is owned or controlled by NXP and may only be used strictly
4  * in accordance with the applicable license terms. By expressly accepting
5  * such terms or by downloading, installing, activating and/or otherwise using
6  * the software, you are agreeing that you have read, and that you agree to
7  * comply with and are bound by, such license terms. If you do not agree to
8  * be bound by the applicable license terms, then you may not retain, install,
9  * activate or otherwise use the software.
10  */
11 
12 #ifndef __WWDT_NSS_H_
13 #define __WWDT_NSS_H_
14 
59 typedef struct NSS_WWDT_S {
60  __IO uint32_t MOD;
61  __IO uint32_t TC;
62  __O uint32_t FEED;
64  __I uint32_t TV;
65 } NSS_WWDT_T;
66 
67 #define WWDT_WDMOD_BITMASK ((uint32_t) 0x0FUL)
68 #define WWDT_WDMOD_WDEN ((uint32_t) (1 << 0))
69 #define WWDT_WDMOD_WDRESET ((uint32_t) (1 << 1))
70 #define WWDT_WDMOD_WDTOF ((uint32_t) (1 << 2))
71 #define WWDT_WDMOD_WDINT ((uint32_t) (1 << 3))
79 void Chip_WWDT_Start(uint32_t timeout);
80 
86 void Chip_WWDT_Feed(void);
87 
92 #endif
__IO uint32_t MOD
Definition: wwdt_nss.h:60
void Chip_WWDT_Feed(void)
#define __IO
Definition: core_cm0plus.h:167
#define __I
Definition: core_cm0plus.h:164
__IO uint32_t TC
Definition: wwdt_nss.h:61
__I uint32_t TV
Definition: wwdt_nss.h:64
#define __O
Definition: core_cm0plus.h:166
__O uint32_t FEED
Definition: wwdt_nss.h:62
Definition: wwdt_nss.h:59