Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
doc
►
kernel
►
lib
►
subsys
▼
zephyr
►
acpi
►
app_memory
►
arch
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
►
devicetree
►
dfu
►
display
►
drivers
►
dsp
▼
dt-bindings
►
acpi
►
adc
►
battery
►
clock
►
comparator
►
dac
►
dai
►
display
►
dma
►
espi
►
ethernet
►
flash_controller
►
gnss
►
gpio
►
i2c
►
input
►
inputmux
►
interrupt-controller
►
ipc_service
►
led
►
lora
►
lvgl
►
memory-attr
►
memory-controller
►
mfd
►
mipi_dbi
►
mipi_dsi
►
misc
►
pcie
►
pinctrl
►
power
►
pwm
►
qspi
►
rdc
►
regulator
►
reserved-memory
▼
reset
►
ast10x0_reset.h
►
gd32-common.h
►
gd32a50x.h
►
gd32e10x.h
►
gd32e50x.h
►
gd32f3x0.h
►
gd32f403.h
►
gd32f4xx.h
►
gd32l23x.h
►
gd32vf103.h
►
intel_socfpga_reset.h
►
npcx4_reset.h
►
npcx7_reset.h
►
npcx9_reset.h
►
numaker_m2l31x_reset.h
►
numaker_m46x_reset.h
►
numaker_m55m1x_reset.h
►
nxp_syscon_reset_common.h
►
rp2040_reset.h
►
rp2350_reset.h
►
stm32-common.h
►
stm32c0_reset.h
►
stm32f0_1_3_reset.h
►
stm32f2_4_7_reset.h
►
stm32g0_reset.h
►
stm32g4_l4_5_reset.h
►
stm32h5_reset.h
►
stm32h7_reset.h
►
stm32h7rs_reset.h
►
stm32l0_reset.h
►
stm32l1_reset.h
►
stm32mp1_reset.h
►
stm32n6_reset.h
►
stm32u0_reset.h
►
stm32u5_reset.h
►
stm32wb0_reset.h
►
stm32wb_l_reset.h
►
stm32wba_reset.h
►
sensor
►
spi
►
timer
►
usb
►
usb-c
►
video
dt-util.h
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mctp
►
mem_mgmt
►
mgmt
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
portability
►
posix
►
psa
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
xen
►
zbus
►
zvfs
►
bindesc.h
►
cache.h
►
device.h
►
devicetree.h
►
fatal.h
►
fatal_types.h
►
init.h
►
irq.h
►
irq_multilevel.h
►
irq_nextlevel.h
►
irq_offload.h
►
kernel.h
kernel_includes.h
►
kernel_structs.h
►
kernel_version.h
►
net_buf.h
►
shared_irq.h
►
smf.h
►
spinlock.h
►
sw_isr_table.h
►
sys_clock.h
►
syscall.h
►
toolchain.h
types.h
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
gd32f403.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Teslabs Engineering S.L.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RESET_GD32F403_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_RESET_GD32F403_H_
9
10
#include "
gd32-common.h
"
11
17
#define GD32_APB2RST_OFFSET 0x0CU
18
#define GD32_APB1RST_OFFSET 0x10U
19
#define GD32_AHBRST_OFFSET 0x28U
20
#define GD32_ADDAPB1RST_OFFSET 0xE0U
21
29
/* APB2 peripherals */
30
#define GD32_RESET_AFIO GD32_RESET_CONFIG(APB2RST, 0U)
31
#define GD32_RESET_GPIOA GD32_RESET_CONFIG(APB2RST, 2U)
32
#define GD32_RESET_GPIOB GD32_RESET_CONFIG(APB2RST, 3U)
33
#define GD32_RESET_GPIOC GD32_RESET_CONFIG(APB2RST, 4U)
34
#define GD32_RESET_GPIOD GD32_RESET_CONFIG(APB2RST, 5U)
35
#define GD32_RESET_GPIOE GD32_RESET_CONFIG(APB2RST, 6U)
36
#define GD32_RESET_GPIOF GD32_RESET_CONFIG(APB2RST, 7U)
37
#define GD32_RESET_GPIOG GD32_RESET_CONFIG(APB2RST, 8U)
38
#define GD32_RESET_ADC0 GD32_RESET_CONFIG(APB2RST, 9U)
39
#define GD32_RESET_ADC1 GD32_RESET_CONFIG(APB2RST, 10U)
40
#define GD32_RESET_TIMER0 GD32_RESET_CONFIG(APB2RST, 11U)
41
#define GD32_RESET_SPI0 GD32_RESET_CONFIG(APB2RST, 12U)
42
#define GD32_RESET_TIMER7 GD32_RESET_CONFIG(APB2RST, 13U)
43
#define GD32_RESET_USART0 GD32_RESET_CONFIG(APB2RST, 14U)
44
#define GD32_RESET_ADC2 GD32_RESET_CONFIG(APB2RST, 15U)
45
#define GD32_RESET_TIMER8 GD32_RESET_CONFIG(APB2RST, 19U)
46
#define GD32_RESET_TIMER9 GD32_RESET_CONFIG(APB2RST, 20U)
47
#define GD32_RESET_TIMER10 GD32_RESET_CONFIG(APB2RST, 21U)
48
49
/* APB1 peripherals */
50
#define GD32_RESET_TIMER2 GD32_RESET_CONFIG(APB1RST, 1U)
51
#define GD32_RESET_TIMER3 GD32_RESET_CONFIG(APB1RST, 2U)
52
#define GD32_RESET_TIMER5 GD32_RESET_CONFIG(APB1RST, 4U)
53
#define GD32_RESET_TIMER6 GD32_RESET_CONFIG(APB1RST, 5U)
54
#define GD32_RESET_TIMER11 GD32_RESET_CONFIG(APB1RST, 6U)
55
#define GD32_RESET_TIMER12 GD32_RESET_CONFIG(APB1RST, 7U)
56
#define GD32_RESET_TIMER13 GD32_RESET_CONFIG(APB1RST, 8U)
57
#define GD32_RESET_WWDGT GD32_RESET_CONFIG(APB1RST, 11U)
58
#define GD32_RESET_SPI1 GD32_RESET_CONFIG(APB1RST, 14U)
59
#define GD32_RESET_SPI2 GD32_RESET_CONFIG(APB1RST, 15U)
60
#define GD32_RESET_USART1 GD32_RESET_CONFIG(APB1RST, 17U)
61
#define GD32_RESET_USART2 GD32_RESET_CONFIG(APB1RST, 18U)
62
#define GD32_RESET_UART3 GD32_RESET_CONFIG(APB1RST, 19U)
63
#define GD32_RESET_UART4 GD32_RESET_CONFIG(APB1RST, 20U)
64
#define GD32_RESET_I2C0 GD32_RESET_CONFIG(APB1RST, 21U)
65
#define GD32_RESET_I2C1 GD32_RESET_CONFIG(APB1RST, 22U)
66
#define GD32_RESET_CAN0 GD32_RESET_CONFIG(APB1RST, 25U)
67
#define GD32_RESET_CAN1 GD32_RESET_CONFIG(APB1RST, 26U)
68
#define GD32_RESET_BKPI GD32_RESET_CONFIG(APB1RST, 27U)
69
#define GD32_RESET_PMU GD32_RESET_CONFIG(APB1RST, 28U)
70
#define GD32_RESET_DAC GD32_RESET_CONFIG(APB1RST, 29U)
71
72
/* AHB peripherals */
73
#define GD32_RESET_USBFS GD32_RESET_CONFIG(AHBRST, 12U)
74
75
/* APB1 additional peripherals */
76
#define GD32_RESET_CTC GD32_RESET_CONFIG(ADDAPB1RST, 27U)
77
80
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_RESET_GD32F403_H_ */
gd32-common.h
zephyr
dt-bindings
reset
gd32f403.h
Generated on Fri Mar 14 2025 12:05:19 for Zephyr API Documentation by
1.12.0