Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
renesas-rzt2m-pinctrl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Antmicro <www.antmicro.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_RZT2M_PINCTRL_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_RZT2M_PINCTRL_H_
9
10#define RZT2M_PINMUX(port, pin, func) ((port << 16) | (pin << 8) | func)
11
12#define UART0TX_P16_5 RZT2M_PINMUX(16, 5, 1)
13#define UART0RX_P16_6 RZT2M_PINMUX(16, 6, 2)
14
15#define UART3TX_P18_0 RZT2M_PINMUX(18, 0, 4)
16#define UART3RX_P17_7 RZT2M_PINMUX(17, 7, 4)
17
18#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_RZT2M_PINCTRL_H_ */