Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
emsdp-pinctrl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Synopsys
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_EMSDP_PINCTRL_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_EMSDP_PINCTRL_H_
9
10#define PMOD_A 0
11#define PMOD_B 1
12#define PMOD_C 2
13#define ARDUINO_PIN_0 3
14#define ARDUINO_PIN_1 4
15#define ARDUINO_PIN_2 5
16#define ARDUINO_PIN_3 6
17#define ARDUINO_PIN_4 7
18#define ARDUINO_PIN_5 8
19#define ARDUINO_PIN_6 9
20#define ARDUINO_PIN_7 10
21#define ARDUINO_PIN_8 11
22#define ARDUINO_PIN_9 12
23#define ARDUINO_PIN_10 13
24#define ARDUINO_PIN_11 14
25#define ARDUINO_PIN_12 15
26#define ARDUINO_PIN_13 16
27#define ARDUINO_PIN_AD0 17
28#define ARDUINO_PIN_AD1 18
29#define ARDUINO_PIN_AD2 19
30#define ARDUINO_PIN_AD3 20
31#define ARDUINO_PIN_AD4 21
32#define ARDUINO_PIN_AD5 22
33#define UNMUXED_PIN 23
34
35#define PMOD_GPIO 0
36#define PMOD_UARTA 1
37#define PMOD_UARTB 2
38#define PMOD_SPI 3
39#define PMOD_I2C 4
40#define PMOD_PWM_MODE1 5
41#define PMOD_PWM_MODE2 6
42#define PMOD_PWM_MODE3 7
43#define ARDUINO_GPIO 8
44#define ARDUINO_UART 9
45#define ARDUINO_SPI 10
46#define ARDUINO_I2C 11
47#define ARDUINO_PWM 12
48#define ARDUINO_ADC 13
49#define NOT_PINMUX 14
50
51
52#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_EMSDP_PINCTRL_H_ */