Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
cc26xx_cc13xx_gpio.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
19
#include "
cc26xx_cc13xx.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
28
#define GPIO_BASE (0x40022000)
34
typedef
struct
{
35
reg32_t
DOUT_FRAG[8];
36
reg32_t
__reserved1[24];
37
reg32_t
DOUT
;
38
reg32_t
__reserved2[3];
39
reg32_t
DOUTSET
;
40
reg32_t
__reserved3[3];
41
reg32_t
DOUTCLR
;
42
reg32_t
__reserved4[3];
43
reg32_t
DOUTTGL
;
44
reg32_t
__reserved5[3];
45
reg32_t
DIN
;
46
reg32_t
__reserved6[3];
47
reg32_t
DOE
;
48
reg32_t
__reserved7[3];
49
reg32_t
EVFLAGS
;
50
}
gpio_regs_t
;
51
52
#define GPIO ((gpio_regs_t *) (GPIO_BASE))
54
#ifdef __cplusplus
55
}
/* end extern "C" */
56
#endif
57
cc26xx_cc13xx.h
CC26xx, CC13xx definitions.
reg32_t
volatile uint32_t reg32_t
Unsigned 32-bit register type.
Definition:
cc26xx_cc13xx.h:36
gpio_regs_t
GPIO registers.
Definition:
cc26xx_cc13xx_gpio.h:34
gpio_regs_t::DOUT
reg32_t DOUT
r/w state of the output
Definition:
cc26xx_cc13xx_gpio.h:37
gpio_regs_t::DIN
reg32_t DIN
r input status
Definition:
cc26xx_cc13xx_gpio.h:45
gpio_regs_t::DOUTCLR
reg32_t DOUTCLR
w1c clear output
Definition:
cc26xx_cc13xx_gpio.h:41
gpio_regs_t::EVFLAGS
reg32_t EVFLAGS
r/w1c indicates an input event
Definition:
cc26xx_cc13xx_gpio.h:49
gpio_regs_t::DOE
reg32_t DOE
r/w enable output
Definition:
cc26xx_cc13xx_gpio.h:47
gpio_regs_t::DOUTTGL
reg32_t DOUTTGL
r/w toggle output
Definition:
cc26xx_cc13xx_gpio.h:43
gpio_regs_t::DOUTSET
reg32_t DOUTSET
w1s set output
Definition:
cc26xx_cc13xx_gpio.h:39
Generated on Sat Sep 6 2025 20:14:01 by
1.9.1