cc26xx_cc13xx_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 
9 #pragma once
10 
19 #include <cc26xx_cc13xx.h>
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
28 typedef struct {
35  reg32_t __reserved1[0x100];
38  reg32_t __reserved2[0x1f9];
40 } wdt_regs_t;
41 
46 #define WDT_BASE 0x40080000
49 #define WDT ((wdt_regs_t *) (WDT_BASE))
51 #ifdef __cplusplus
52 } /* end extern "C" */
53 #endif
54 
CC26xx, CC13xx definitions.
volatile uint32_t reg32_t
Unsigned 32-bit register type.
Definition: cc26xx_cc13xx.h:39
WDT registers.
reg32_t LOCK
lock
reg32_t INT_CAUS
interrupt cause test mode
reg32_t CTL
control
reg32_t ICR
interrupt clear
reg32_t VALUE
current count value
reg32_t LOAD
config
reg32_t MIS
masked interrupt status
reg32_t TEST
test mode
reg32_t RIS
raw interrupt status