cc26x0_wdt.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Leon George
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
17 #ifndef CC26X0_WDT_H
18 #define CC26X0_WDT_H
19 
20 #include <cc26x0.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 
30 typedef struct {
31  reg32_t LOAD;
32  reg32_t VALUE;
33  reg32_t CTL;
34  reg32_t ICR;
35  reg32_t RIS;
36  reg32_t MIS;
37  reg32_t TEST;
38  reg32_t INT_CAUS;
39  reg32_t LOCK;
40 } wdt_regs_t;
41 
45 #define WDT_BASE 0x40080000
47 
48 #define WDT ((wdt_regs_t *) (WDT_BASE))
50 #ifdef __cplusplus
51 } /* end extern "C" */
52 #endif
53 
54 #endif /* CC26X0_WDT_H */
55 
reg32_t LOAD
config
Definition: cc26x0_wdt.h:31
reg32_t MIS
masked interrupt status
Definition: cc26x0_wdt.h:36
reg32_t LOCK
lock
Definition: cc26x0_wdt.h:39
reg32_t CTL
control
Definition: cc26x0_wdt.h:33
reg32_t VALUE
current count value
Definition: cc26x0_wdt.h:32
reg32_t ICR
interrupt clear
Definition: cc26x0_wdt.h:34
reg32_t INT_CAUS
interrupt cause test mode
Definition: cc26x0_wdt.h:38
reg32_t TEST
test mode
Definition: cc26x0_wdt.h:37
CC26x0 MCU interrupt definitions.
WDT registers.
Definition: cc26x0_wdt.h:30
reg32_t RIS
raw interrupt status
Definition: cc26x0_wdt.h:35