Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Nuvoton NuMaker M46x pin control helpers

Macros for pin control configuration of Nuvoton NuMaker M46x. More...

Files

file  numaker-m46x-pinctrl.h
 Devicetree pin control helpers for Nuvoton NuMaker M46x.

Detailed Description

Macros for pin control configuration of Nuvoton NuMaker M46x.

The macros follow the following naming convention: <PORT><PIN>MFP_<FUNCTION>.

For example, PB12MFP_UART0_RXD corresponds to the UART0_RXD function routed to port B pin 12.

#include <zephyr/dt-bindings/pinctrl/numaker-m46x-pinctrl.h>
&pinctrl {
uart0_default: uart0_default {
group1 {
pinmux = <PB12MFP_UART0_RXD>,
<PB13MFP_UART0_TXD>;
};
};
};