cc26xx_cc13xx_wdt.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2016 Leon George
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
16 #include <cc26xx_cc13xx.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
25 typedef struct {
32  reg32_t __reserved1[0x100];
35  reg32_t __reserved2[0x1f9];
37 } wdt_regs_t;
38 
43 #define WDT_BASE 0x40080000
46 #define WDT ((wdt_regs_t *) (WDT_BASE))
48 #ifdef __cplusplus
49 } /* end extern "C" */
50 #endif
51 
CC26xx, CC13xx definitions.
volatile uint32_t reg32_t
Unsigned 32-bit register type.
Definition: cc26xx_cc13xx.h:36
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