Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Silicon Labs SiWx91x pin control helpers

Macros for pin control configuration of Silicon Labs SiWx91x. More...

Files

file  siwx91x-pinctrl.h
 Devicetree pin control helpers for Silicon Labs SiWx91x.

Detailed Description

Macros for pin control configuration of Silicon Labs SiWx91x.

The macros follow the following naming convention: <PERIPHERAL>_<SIGNAL>_<PIN>.

For example, USART0_TX_PC0 corresponds to the TX signal of USART0 mapped to routing port C pin 0.

#include <zephyr/dt-bindings/pinctrl/silabs/siwx91x-pinctrl.h>
&pinctrl {
ulpuart_default: ulpuart_default {
out {
pinmux = <ULPUART_TX_ULP11>;
};
in {
pinmux = <ULPUART_RX_ULP9>;
};
};
};