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
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
►
modules
►
subsys
▼
zephyr
►
acpi
►
app_memory
►
arch
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
▼
devicetree
►
can.h
►
clocks.h
►
display.h
►
dma.h
►
fixed-partitions.h
►
gpio.h
►
interrupt_controller.h
►
io-channels.h
►
mbox.h
►
ordinals.h
►
pinctrl.h
►
port-endpoint.h
►
pwms.h
►
reset.h
►
spi.h
►
dfu
►
display
►
drivers
►
dsp
►
dt-bindings
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mem_mgmt
►
mgmt
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
pmci
►
portability
►
posix
►
psa
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
video
►
virtio
►
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
reset.h
Go to the documentation of this file.
1
6
/*
7
* Copyright (c) 2022, Andrei-Edward Popa
8
*
9
* SPDX-License-Identifier: Apache-2.0
10
*/
11
12
#ifndef ZEPHYR_INCLUDE_DEVICETREE_RESET_H_
13
#define ZEPHYR_INCLUDE_DEVICETREE_RESET_H_
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
50
#define DT_RESET_CTLR_BY_IDX(node_id, idx) \
51
DT_PHANDLE_BY_IDX(node_id, resets, idx)
50
#define DT_RESET_CTLR_BY_IDX(node_id, idx) \
…
52
60
#define DT_RESET_CTLR(node_id) \
61
DT_RESET_CTLR_BY_IDX(node_id, 0)
60
#define DT_RESET_CTLR(node_id) \
…
62
89
#define DT_RESET_CTLR_BY_NAME(node_id, name) \
90
DT_PHANDLE_BY_NAME(node_id, resets, name)
89
#define DT_RESET_CTLR_BY_NAME(node_id, name) \
…
91
121
#define DT_RESET_CELL_BY_IDX(node_id, idx, cell) \
122
DT_PHA_BY_IDX(node_id, resets, idx, cell)
121
#define DT_RESET_CELL_BY_IDX(node_id, idx, cell) \
…
123
155
#define DT_RESET_CELL_BY_NAME(node_id, name, cell) \
156
DT_PHA_BY_NAME(node_id, resets, name, cell)
155
#define DT_RESET_CELL_BY_NAME(node_id, name, cell) \
…
157
165
#define DT_RESET_CELL(node_id, cell) \
166
DT_RESET_CELL_BY_IDX(node_id, 0, cell)
165
#define DT_RESET_CELL(node_id, cell) \
…
167
178
#define DT_INST_RESET_CTLR_BY_IDX(inst, idx) \
179
DT_RESET_CTLR_BY_IDX(DT_DRV_INST(inst), idx)
178
#define DT_INST_RESET_CTLR_BY_IDX(inst, idx) \
…
180
188
#define DT_INST_RESET_CTLR(inst) \
189
DT_INST_RESET_CTLR_BY_IDX(inst, 0)
188
#define DT_INST_RESET_CTLR(inst) \
…
190
202
#define DT_INST_RESET_CTLR_BY_NAME(inst, name) \
203
DT_RESET_CTLR_BY_NAME(DT_DRV_INST(inst), name)
202
#define DT_INST_RESET_CTLR_BY_NAME(inst, name) \
…
204
214
#define DT_INST_RESET_CELL_BY_IDX(inst, idx, cell) \
215
DT_RESET_CELL_BY_IDX(DT_DRV_INST(inst), idx, cell)
214
#define DT_INST_RESET_CELL_BY_IDX(inst, idx, cell) \
…
216
226
#define DT_INST_RESET_CELL_BY_NAME(inst, name, cell) \
227
DT_RESET_CELL_BY_NAME(DT_DRV_INST(inst), name, cell)
226
#define DT_INST_RESET_CELL_BY_NAME(inst, name, cell) \
…
228
235
#define DT_INST_RESET_CELL(inst, cell) \
236
DT_INST_RESET_CELL_BY_IDX(inst, 0, cell)
235
#define DT_INST_RESET_CELL(inst, cell) \
…
237
269
#define DT_RESET_ID_BY_IDX(node_id, idx) \
270
DT_PHA_BY_IDX(node_id, resets, idx, id)
269
#define DT_RESET_ID_BY_IDX(node_id, idx) \
…
271
278
#define DT_RESET_ID(node_id) \
279
DT_RESET_ID_BY_IDX(node_id, 0)
278
#define DT_RESET_ID(node_id) \
…
280
289
#define DT_INST_RESET_ID_BY_IDX(inst, idx) \
290
DT_RESET_ID_BY_IDX(DT_DRV_INST(inst), idx)
289
#define DT_INST_RESET_ID_BY_IDX(inst, idx) \
…
291
298
#define DT_INST_RESET_ID(inst) \
299
DT_INST_RESET_ID_BY_IDX(inst, 0)
298
#define DT_INST_RESET_ID(inst) \
…
300
305
#ifdef __cplusplus
306
}
307
#endif
308
309
#endif
/* ZEPHYR_INCLUDE_DEVICETREE_RESET_H_ */
zephyr
devicetree
reset.h
Generated on Fri Jun 6 2025 18:07:19 for Zephyr API Documentation by
1.12.0