Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
quicklogic-eos-s3-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_QUICKLOGIC_EOS_S3_PINCTRL_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_QUICKLOGIC_EOS_S3_PINCTRL_H_
9
10
#include <
zephyr/dt-bindings/dt-util.h
>
11
12
#define IO_MUX_REG_MAX_OFFSET 107
13
#define IO_MUX_MAX_PAD_NR 45
14
15
#define FUNC_SEL_UART_RX (77 << 13)
16
17
#define QUICKLOGIC_EOS_S3_PINMUX(pin, fun) (pin) (fun)
18
19
#define UART_TX_PAD44 QUICKLOGIC_EOS_S3_PINMUX(44, 0x3)
20
#define UART_RX_PAD45 QUICKLOGIC_EOS_S3_PINMUX(45, FUNC_SEL_UART_RX | BIT(2))
21
#define USB_PU_CTRL_PAD23 QUICKLOGIC_EOS_S3_PINMUX(23, 0x0)
22
#define USB_DN_PAD28 QUICKLOGIC_EOS_S3_PINMUX(28, 0x0)
23
#define USB_DP_PAD31 QUICKLOGIC_EOS_S3_PINMUX(31, 0x0)
24
25
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_QUICKLOGIC_EOS_S3_PINCTRL_H_ */
dt-util.h
zephyr
dt-bindings
pinctrl
quicklogic-eos-s3-pinctrl.h
Generated on Thu Sep 26 2024 10:47:06 for Zephyr API Documentation by
1.9.6