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
►
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
►
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
io-channels.h
Go to the documentation of this file.
1
6
/*
7
* Copyright (c) 2020, Linaro Ltd.
8
*
9
* SPDX-License-Identifier: Apache-2.0
10
*/
11
12
#ifndef ZEPHYR_INCLUDE_DEVICETREE_IO_CHANNELS_H_
13
#define ZEPHYR_INCLUDE_DEVICETREE_IO_CHANNELS_H_
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
50
#define DT_IO_CHANNELS_CTLR_BY_IDX(node_id, idx) \
51
DT_PHANDLE_BY_IDX(node_id, io_channels, idx)
50
#define DT_IO_CHANNELS_CTLR_BY_IDX(node_id, idx) \
…
52
79
#define DT_IO_CHANNELS_CTLR_BY_NAME(node_id, name) \
80
DT_PHANDLE_BY_NAME(node_id, io_channels, name)
79
#define DT_IO_CHANNELS_CTLR_BY_NAME(node_id, name) \
…
81
89
#define DT_IO_CHANNELS_CTLR(node_id) DT_IO_CHANNELS_CTLR_BY_IDX(node_id, 0)
90
100
#define DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, idx) \
101
DT_IO_CHANNELS_CTLR_BY_IDX(DT_DRV_INST(inst), idx)
100
#define DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, idx) \
…
102
112
#define DT_INST_IO_CHANNELS_CTLR_BY_NAME(inst, name) \
113
DT_IO_CHANNELS_CTLR_BY_NAME(DT_DRV_INST(inst), name)
112
#define DT_INST_IO_CHANNELS_CTLR_BY_NAME(inst, name) \
…
114
122
#define DT_INST_IO_CHANNELS_CTLR(inst) DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, 0)
123
161
#define DT_IO_CHANNELS_INPUT_BY_IDX(node_id, idx) \
162
DT_PHA_BY_IDX(node_id, io_channels, idx, input)
161
#define DT_IO_CHANNELS_INPUT_BY_IDX(node_id, idx) \
…
163
203
#define DT_IO_CHANNELS_INPUT_BY_NAME(node_id, name) \
204
DT_PHA_BY_NAME(node_id, io_channels, name, input)
203
#define DT_IO_CHANNELS_INPUT_BY_NAME(node_id, name) \
…
211
#define DT_IO_CHANNELS_INPUT(node_id) DT_IO_CHANNELS_INPUT_BY_IDX(node_id, 0)
212
221
#define DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, idx) \
222
DT_IO_CHANNELS_INPUT_BY_IDX(DT_DRV_INST(inst), idx)
221
#define DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, idx) \
…
223
233
#define DT_INST_IO_CHANNELS_INPUT_BY_NAME(inst, name) \
234
DT_IO_CHANNELS_INPUT_BY_NAME(DT_DRV_INST(inst), name)
233
#define DT_INST_IO_CHANNELS_INPUT_BY_NAME(inst, name) \
…
235
241
#define DT_INST_IO_CHANNELS_INPUT(inst) DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, 0)
242
247
#ifdef __cplusplus
248
}
249
#endif
250
251
#endif
/* ZEPHYR_INCLUDE_DEVICETREE_IO_CHANNELS_H_ */
zephyr
devicetree
io-channels.h
Generated on Sat May 17 2025 09:07:16 for Zephyr API Documentation by
1.12.0