Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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 __RENESAS_RZT2M_PINCTRL_H__
8#define __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 /* __RENESAS_RZT2M_PINCTRL_H__ */