Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
{
29
reg32_t
LOAD
;
30
reg32_t
VALUE
;
31
reg32_t
CTL
;
32
reg32_t
ICR
;
33
reg32_t
RIS
;
34
reg32_t
MIS
;
35
reg32_t
__reserved1[0x100];
36
reg32_t
TEST
;
37
reg32_t
INT_CAUS
;
38
reg32_t
__reserved2[0x1f9];
39
reg32_t
LOCK
;
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.h
CC26xx, CC13xx definitions.
reg32_t
volatile uint32_t reg32_t
Unsigned 32-bit register type.
Definition:
cc26xx_cc13xx.h:39
wdt_regs_t
WDT registers.
Definition:
cc26xx_cc13xx_wdt.h:28
wdt_regs_t::LOCK
reg32_t LOCK
lock
Definition:
cc26xx_cc13xx_wdt.h:39
wdt_regs_t::INT_CAUS
reg32_t INT_CAUS
interrupt cause test mode
Definition:
cc26xx_cc13xx_wdt.h:37
wdt_regs_t::CTL
reg32_t CTL
control
Definition:
cc26xx_cc13xx_wdt.h:31
wdt_regs_t::ICR
reg32_t ICR
interrupt clear
Definition:
cc26xx_cc13xx_wdt.h:32
wdt_regs_t::VALUE
reg32_t VALUE
current count value
Definition:
cc26xx_cc13xx_wdt.h:30
wdt_regs_t::LOAD
reg32_t LOAD
config
Definition:
cc26xx_cc13xx_wdt.h:29
wdt_regs_t::MIS
reg32_t MIS
masked interrupt status
Definition:
cc26xx_cc13xx_wdt.h:34
wdt_regs_t::TEST
reg32_t TEST
test mode
Definition:
cc26xx_cc13xx_wdt.h:36
wdt_regs_t::RIS
reg32_t RIS
raw interrupt status
Definition:
cc26xx_cc13xx_wdt.h:33
Generated on Mon Jun 30 2025 18:46:45 by
1.9.1