Zephyr API Documentation
4.2.0-rc3
A Scalable Open Source RTOS
4.2.0-rc3
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
dfu
display
drivers
dsp
dt-bindings
acpi
adc
battery
clock
comparator
dac
dai
display
dma
espi
ethernet
flash_controller
gnss
gpio
adi-max32-gpio.h
adi-sdp-120.h
andestech-atcgpio100.h
arduino-header-r3.h
arduino-mkr-header.h
arduino-nano-header.h
atmel-sam-gpio.h
atmel-sam0-gpio.h
digilent-pmod.h
dvp-20pin-connector.h
ene-kb106x-gpio.h
ene-kb1200-gpio.h
espressif-esp32-gpio.h
gpio.h
infineon-xmc4xxx-gpio.h
ite-it8xxx2-gpio.h
microchip-xec-gpio.h
nordic-npm13xx-gpio.h
nordic-npm2100-gpio.h
nordic-npm6001-gpio.h
nordic-nrf-gpio.h
numicro-gpio.h
nuvoton-npcx-gpio.h
nxp-imx-igpio.h
nxp-kinetis-gpio.h
nxp-s32-gpio.h
raspberrypi-csi-connector.h
realtek-gpio.h
renesas-ra-gpio-ioport.h
renesas-rz-gpio.h
renesas-rza2m-gpio.h
renesas-rzt2m-gpio.h
renesas-rztn-gpio.h
semtech-sx1509b.h
snps-designware-gpio.h
st-morpho-header.h
stm32-gpio.h
ti-cc13xx-cc26xx-gpio.h
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
sensor
sent
spi
timer
usb
usb-c
video
dt-util.h
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
digilent-pmod.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Elektronikutvecklingsbyrån EUB AB
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
26
27
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_DIGILENT_PMOD_H_
28
#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_DIGILENT_PMOD_H_
29
34
35
/* GPIO */
36
43
#define PMOD_IO(n) ((n) - 1)
44
45
/* SPI */
46
51
#define PMOD_SPI_CS PMOD_IO(1)
52
57
#define PMOD_SPI_MOSI PMOD_IO(2)
58
63
#define PMOD_SPI_MISO PMOD_IO(3)
64
69
#define PMOD_SPI_SCK PMOD_IO(4)
70
71
/* Expanded SPI */
72
77
#define PMOD_EXP_SPI_CS PMOD_IO(1)
78
83
#define PMOD_EXP_SPI_MOSI PMOD_IO(2)
84
89
#define PMOD_EXP_SPI_MISO PMOD_IO(3)
90
95
#define PMOD_EXP_SPI_SCK PMOD_IO(4)
96
101
#define PMOD_EXP_SPI_INT PMOD_IO(5)
102
107
#define PMOD_EXP_SPI_RESET PMOD_IO(6)
108
113
#define PMOD_EXP_SPI_CS2 PMOD_IO(7)
114
119
#define PMOD_EXP_SPI_CS3 PMOD_IO(8)
120
121
/* Expanded UART */
122
127
#define PMOD_EXP_UART_INT PMOD_IO(5)
128
133
#define PMOD_EXP_UART_RESET PMOD_IO(6)
134
135
/* H-bridge */
136
141
#define PMOD_HBRIDGE_DIR PMOD_IO(1)
142
147
#define PMOD_HBRIDGE_EN PMOD_IO(2)
148
149
/* Dual H-bridge */
150
155
#define PMOD_DUAL_HBRIDGE_DIR1 PMOD_IO(1)
156
161
#define PMOD_DUAL_HBRIDGE_EN1 PMOD_IO(2)
162
167
#define PMOD_DUAL_HBRIDGE_DIR2 PMOD_IO(3)
168
173
#define PMOD_DUAL_HBRIDGE_EN2 PMOD_IO(4)
174
175
/* Expanded dual H-bridge */
176
181
#define PMOD_EXP_DUAL_HBRIDGE_DIR1 PMOD_IO(1)
182
187
#define PMOD_EXP_DUAL_HBRIDGE_EN1 PMOD_IO(2)
188
193
#define PMOD_EXP_DUAL_HBRIDGE_DIR2 PMOD_IO(5)
194
199
#define PMOD_EXP_DUAL_HBRIDGE_EN2 PMOD_IO(6)
200
201
/* I2C */
202
207
#define PMOD_I2C_INT PMOD_IO(1)
208
213
#define PMOD_I2C_RESET PMOD_IO(2)
214
219
#define PMOD_I2C_SCL PMOD_IO(3)
220
225
#define PMOD_I2C_SDA PMOD_IO(4)
226
227
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_DIGILENT_PMOD_H_ */
zephyr
dt-bindings
gpio
digilent-pmod.h
Generated on
for Zephyr API Documentation by
1.14.0