|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_SI32_PINCTRL_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_SI32_PINCTRL_
10#define SI32_SIGNAL_USART0_TX 0
11#define SI32_SIGNAL_USART0_RX 1
12#define SI32_SIGNAL_USART0_RTS 2
13#define SI32_SIGNAL_USART0_CTS 3
14#define SI32_SIGNAL_USART0_UCLK 4
16#define SI32_SIGNAL_SPI0_SCK 5
17#define SI32_SIGNAL_SPI0_MISO 6
18#define SI32_SIGNAL_SPI0_MOSI 7
19#define SI32_SIGNAL_SPI0_NSS 8
21#define SI32_SIGNAL_USART1_TX 9
22#define SI32_SIGNAL_USART1_RX 10
23#define SI32_SIGNAL_USART1_RTS 11
24#define SI32_SIGNAL_USART1_CTS 12
25#define SI32_SIGNAL_USART1_UCLK 13
27#define SI32_SIGNAL_EPCA0_CEX0 14
28#define SI32_SIGNAL_EPCA0_CEX1 15
29#define SI32_SIGNAL_EPCA0_CEX2 16
30#define SI32_SIGNAL_EPCA0_CEX3 17
31#define SI32_SIGNAL_EPCA0_CEX4 18
32#define SI32_SIGNAL_EPCA0_CEX4 19
34#define SI32_SIGNAL_PCA0_CEX0 20
35#define SI32_SIGNAL_PCA0_CEX1 21
37#define SI32_SIGNAL_PCA1_CEX0 22
38#define SI32_SIGNAL_PCA1_CEX1 23
40#define SI32_SIGNAL_EPCA0_ECI 24
42#define SI32_SIGNAL_PCA0_ECI 25
44#define SI32_SIGNAL_PCA1_ECI 26
46#define SI32_SIGNAL_I2S0_TX_WS 27
47#define SI32_SIGNAL_I2S0_TX_SCK 28
48#define SI32_SIGNAL_I2S0_TX_SD 29
50#define SI32_SIGNAL_I2C0_SDA 30
51#define SI32_SIGNAL_I2C0_SCL 31
53#define SI32_SIGNAL_CMP0S 32
54#define SI32_SIGNAL_CMP0A 33
56#define SI32_SIGNAL_CMP1S 34
57#define SI32_SIGNAL_CMP1A 35
59#define SI32_SIGNAL_TIMER0_CT 36
60#define SI32_SIGNAL_TIMER0_EX 37
62#define SI32_SIGNAL_TIMER1_CT 38
63#define SI32_SIGNAL_TIMER1_EX 39
65#define SI32_SIGNAL_UART0_TX 40
66#define SI32_SIGNAL_UART0_RX 41
67#define SI32_SIGNAL_UART0_RTS 42
68#define SI32_SIGNAL_UART0_CTS 43
70#define SI32_SIGNAL_UART1_TX 44
71#define SI32_SIGNAL_UART1_RX 45
73#define SI32_SIGNAL_SPI1_SCK 46
74#define SI32_SIGNAL_SPI1_MISO 47
75#define SI32_SIGNAL_SPI1_MOSI 48
76#define SI32_SIGNAL_SPI1_NSS 49
78#define SI32_SIGNAL_SPI2_SCK 50
79#define SI32_SIGNAL_SPI2_MISO 51
80#define SI32_SIGNAL_SPI2_MOSI 52
81#define SI32_SIGNAL_SPI2_NSS 53
83#define SI32_SIGNAL_AHB_OUT 54
85#define SI32_SIGNAL_SSG0_EX0 55
86#define SI32_SIGNAL_SSG0_EX1 56
87#define SI32_SIGNAL_SSG0_EX2 57
88#define SI32_SIGNAL_SSG0_EX3 58
90#define SI32_SIGNAL_RTC0_OUT 59
92#define SI32_SIGNAL_I2S0_RX_WS 60
93#define SI32_SIGNAL_I2S0_RX_SCK 61
94#define SI32_SIGNAL_I2S0_RX_SD 62
96#define SI32_SIGNAL_LPTIMER0_OUT 63
98#define SI32_SIGNAL_I2C1_SDA 64
99#define SI32_SIGNAL_I2C1_SCL 65
101#define SI32_SIGNAL_PB_HDKILL 66
110#define SI32_MUX(fun, port, pin) \
111 ((((port)&0x7)) | (((pin)&0xF) << 3) | ((SI32_SIGNAL_##fun & 0x7F) << 22))