Zephyr API Documentation
4.2.99
A Scalable Open Source RTOS
4.2.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
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
renesas
silabs
ambiq-apollo3-pinctrl.h
ambiq-apollo4-pinctrl.h
ambiq-apollo5-pinctrl.h
arm-mps2-pinctrl.h
arm-mps3-pinctrl.h
arm-mps4-pinctrl.h
arm-v2m_beetle-pinctrl.h
b91-pinctrl.h
cc13xx_cc26xx-pinctrl.h
cc23x0-pinctrl.h
ch32v003-pinctrl.h
ch32v00x-pinctrl.h
ch32v20x_30x-pinctrl.h
emsdp-pinctrl.h
ene-kb106x-pinctrl.h
ene-kb1200-pinctrl.h
esp-pinctrl-common.h
esp32-gpio-sigmap.h
esp32-pinctrl.h
esp32c2-gpio-sigmap.h
esp32c2-pinctrl.h
esp32c3-gpio-sigmap.h
esp32c3-pinctrl.h
esp32c6-gpio-sigmap.h
esp32c6-pinctrl.h
esp32s2-gpio-sigmap.h
esp32s2-pinctrl.h
esp32s3-gpio-sigmap.h
esp32s3-pinctrl.h
gecko-pinctrl-s1.h
gecko-pinctrl.h
ifx_cat1-pinctrl.h
imx8qm-pinctrl.h
imx8qxp-pinctrl.h
it8xxx2-pinctrl.h
lpc11u6x-pinctrl.h
max32-pinctrl.h
mchp-xec-pinctrl.h
mspm0-pinctrl.h
npcx-pinctrl.h
nrf-pinctrl.h
numaker-m46x-pinctrl.h
numicro-pinctrl.h
nxp-s32-pinctrl.h
pinctrl-zynq.h
pinctrl-zynqmp.h
quicklogic-eos-s3-pinctrl.h
realtek-rts5912-pinctrl.h
renesas-rzt2m-pinctrl.h
rpi-pico-pinctrl-common.h
rpi-pico-rp2040-pinctrl.h
rpi-pico-rp2350-pinctrl-common.h
rpi-pico-rp2350a-pinctrl.h
rpi-pico-rp2350b-pinctrl.h
rv32m1-pinctrl.h
si32-pinctrl.h
sifive-pinctrl.h
silabs-pinctrl-dbus.h
silabs-pinctrl-siwx91x.h
smartbond-pinctrl.h
stm32-pinctrl-common.h
stm32-pinctrl.h
stm32f1-afio.h
stm32f1-pinctrl.h
sy1xx-pinctrl.h
ti-cc32xx-pinctrl.h
ti-k3-pinctrl.h
xmc4xxx-pinctrl.h
power
pwm
qspi
rdc
regulator
reserved-memory
reset
sensor
sent
spi
timer
usb
usb-c
video
dt-util.h
fs
gnss
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
arm-v2m_beetle-pinctrl.h
Go to the documentation of this file.
1
/*
2
* Copyright 2025 Arm Limited and/or its affiliates <open-source-office@arm.com>
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#define V2M_BEETLE_ALT_FUNC_POS 0
8
#define V2M_BEETLE_ALT_FUNC_MASK 0x7
9
10
#define V2M_BEETLE_EXP_NUM_POS 3
11
#define V2M_BEETLE_EXP_NUM_MASK 0x1F8
12
13
#define V2M_BEETLE_PINCTRL_FUNC_UART 0
14
#define V2M_BEETLE_PINCTRL_FUNC_GPIO 1
15
#define V2M_BEETLE_PINCTRL_FUNC_I2C 2
16
#define V2M_BEETLE_PINCTRL_FUNC_SPI 3
17
#define V2M_BEETLE_PINCTRL_FUNC_QSPI 4
18
19
#define V2M_BEETLE_PINMUX(alt_func, exp_num) (exp_num << V2M_BEETLE_EXP_NUM_POS | \
20
alt_func << V2M_BEETLE_ALT_FUNC_POS)
19
#define V2M_BEETLE_PINMUX(alt_func, exp_num) (exp_num << V2M_BEETLE_EXP_NUM_POS | \
…
21
22
23
24
/* GPIO 0 */
25
#define UART0_RXD_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_UART, 0)
26
#define UART0_TXD_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_UART, 1)
27
#define SPI0_SS_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_SPI, 10)
28
#define SPI0_MOSI_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_SPI, 11)
29
#define SPI0_MISO_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_SPI, 12)
30
#define SPI0_SCK_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_SPI, 13)
31
#define SBCON0_SDA_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_I2C, 14)
32
#define SBCON0_SCL_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_I2C, 15)
33
34
/* GPIO 1 */
35
#define UART1_RXD_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_UART, 16)
36
#define UART1_TXD_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_UART, 17)
37
#define SPI1_SS_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_SPI, 18)
38
#define SPI1_MOSI_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_SPI, 19)
39
#define SPI1_MISO_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_SPI, 20)
40
#define SPI1_SCK_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_SPI, 21)
41
#define SBCON1_SDA_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_I2C, 22)
42
#define SBCON1_SCL_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_I2C, 23)
43
#define QSPI_CS2_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_QSPI, 24)
44
#define QSPI_CS1_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_QSPI, 25)
45
#define QSPI_IOF0_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_QSPI, 26)
46
#define QSPI_IOF1_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_QSPI, 27)
47
#define QSPI_IOF2_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_QSPI, 28)
48
#define QSPI_IOF3_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_QSPI, 29)
49
#define QSPI_SCK_EXP V2M_BEETLE_PINMUX(V2M_BEETLE_PINCTRL_FUNC_QSPI, 30)
zephyr
dt-bindings
pinctrl
arm-v2m_beetle-pinctrl.h
Generated on
for Zephyr API Documentation by
1.14.0