Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
SiFli SF32LB52x pin control helpers

Macros for pin control configuration of SiFli SF32LB52x. More...

Files

file  sf32lb52x-pinctrl.h
 Devicetree pin control helpers for SiFli SF32LB52x.

Detailed Description

Macros for pin control configuration of SiFli SF32LB52x.

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

For example, PA19_USART1_TXD corresponds to the USART1_TXD signal routed to pad PA19.

#include <zephyr/dt-bindings/pinctrl/sifli/sf32lb52x-pinctrl.h>
&pinctrl {
usart1_default: usart1_default {
group1 {
pinmux = <PA19_USART1_TXD>;
};
group2 {
pinmux = <PA18_USART1_RXD>;
input-enable;
bias-pull-up;
};
};
};