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-apollo2-pinctrl.h
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
libsbc
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
smartbond-pinctrl.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022, Renesas Electronics Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_SMARTBOND_PINCTRL_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_SMARTBOND_PINCTRL_H_
9
11
#define SMARTBOND_FUNC_GPIO 0
12
#define SMARTBOND_FUNC_UART_RX 1
13
#define SMARTBOND_FUNC_UART_TX 2
14
#define SMARTBOND_FUNC_UART2_RX 3
15
#define SMARTBOND_FUNC_UART2_TX 4
16
#define SMARTBOND_FUNC_UART2_CTSN 5
17
#define SMARTBOND_FUNC_UART2_RTSN 6
18
#define SMARTBOND_FUNC_UART3_RX 7
19
#define SMARTBOND_FUNC_UART3_TX 8
20
#define SMARTBOND_FUNC_UART3_CTSN 9
21
#define SMARTBOND_FUNC_UART3_RTSN 10
22
#define SMARTBOND_FUNC_ISO_CLK 11
23
#define SMARTBOND_FUNC_ISO_DATA 12
24
#define SMARTBOND_FUNC_SPI_DI 13
25
#define SMARTBOND_FUNC_SPI_DO 14
26
#define SMARTBOND_FUNC_SPI_CLK 15
27
#define SMARTBOND_FUNC_SPI_EN 16
28
#define SMARTBOND_FUNC_SPI2_DI 17
29
#define SMARTBOND_FUNC_SPI2_DO 18
30
#define SMARTBOND_FUNC_SPI2_CLK 19
31
#define SMARTBOND_FUNC_SPI2_EN 20
32
#define SMARTBOND_FUNC_I2C_SCL 21
33
#define SMARTBOND_FUNC_I2C_SDA 22
34
#define SMARTBOND_FUNC_I2C2_SCL 23
35
#define SMARTBOND_FUNC_I2C2_SDA 24
36
#define SMARTBOND_FUNC_USB_SOF 25
37
#define SMARTBOND_FUNC_ADC 26
38
#define SMARTBOND_FUNC_USB 27
39
#define SMARTBOND_FUNC_PCM_DI 28
40
#define SMARTBOND_FUNC_PCM_DO 29
41
#define SMARTBOND_FUNC_PCM_FSC 30
42
#define SMARTBOND_FUNC_PCM_CLK 31
43
#define SMARTBOND_FUNC_PDM_DATA 32
44
#define SMARTBOND_FUNC_PDM_CLK 33
45
#define SMARTBOND_FUNC_COEX_EXT_ACT 34
46
#define SMARTBOND_FUNC_COEX_SMART_ACT 35
47
#define SMARTBOND_FUNC_COEX_SMART_PRI 36
48
#define SMARTBOND_FUNC_PORT0_DCF 37
49
#define SMARTBOND_FUNC_PORT1_DCF 38
50
#define SMARTBOND_FUNC_PORT2_DCF 39
51
#define SMARTBOND_FUNC_PORT3_DCF 40
52
#define SMARTBOND_FUNC_PORT4_DCF 41
53
#define SMARTBOND_FUNC_CLOCK 42
54
#define SMARTBOND_FUNC_PG 43
55
#define SMARTBOND_FUNC_LCD 44
56
#define SMARTBOND_FUNC_LCD_SPI_DC 45
57
#define SMARTBOND_FUNC_LCD_SPI_DO 46
58
#define SMARTBOND_FUNC_LCD_SPI_CLK 47
59
#define SMARTBOND_FUNC_LCD_SPI_EN 48
60
#define SMARTBOND_FUNC_TIM_PWM 49
61
#define SMARTBOND_FUNC_TIM2_PWM 50
62
#define SMARTBOND_FUNC_TIM_1SHOT 51
63
#define SMARTBOND_FUNC_TIM2_1SHOT 52
64
#define SMARTBOND_FUNC_TIM3_PWM 53
65
#define SMARTBOND_FUNC_TIM4_PWM 54
66
68
#define SMARTBOND_PINMUX_PIN_POS 0
69
#define SMARTBOND_PINMUX_PIN_MASK 0x1f
70
#define SMARTBOND_PINMUX_PORT_POS 5
71
#define SMARTBOND_PINMUX_PORT_MASK 0x01
72
#define SMARTBOND_PINMUX_FUNC_POS 6
73
#define SMARTBOND_PINMUX_FUNC_MASK 0xff
74
76
#define SMARTBOND_PINMUX(func, port, pin) \
77
(((SMARTBOND_FUNC_ ## func) << SMARTBOND_PINMUX_FUNC_POS) | \
78
((port) << SMARTBOND_PINMUX_PORT_POS) | \
79
(pin) << SMARTBOND_PINMUX_PIN_POS)
76
#define SMARTBOND_PINMUX(func, port, pin) \
…
80
81
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_SMARTBOND_PINCTRL_H_ */
zephyr
dt-bindings
pinctrl
smartbond-pinctrl.h
Generated on
for Zephyr API Documentation by
1.14.0