Zephyr API 3.6.99
Loading...
Searching...
No Matches
Silicon Labs xG23 pin control helpers

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

Files

file  xg23-pinctrl.h
 Devicetree pin control helpers for Silicon Labs xG23.
 

Detailed Description

Macros for pin control configuration of Silicon Labs xG23

The macros follow the following naming convention: <PERIPHERAL>_<SIGNAL>_P<PORT>_<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/xg23-pinctrl.h>
&pinctrl {
usart0_default: usart0_default {
group0 {
pins = <USART0_TX_PC0>, <USART0_CLK_PC2>;
drive-push-pull;
output-high;
};
group1 {
pins = <USART0_RX_PC1>;
input-enable;
};
};
};

Valid peripherals and signals are: