Zephyr API 3.6.99
Loading...
Searching...
No Matches
si32-pinctrl.h File Reference

Go to the source code of this file.

Macros

#define SI32_SIGNAL_USART0_TX   0
 
#define SI32_SIGNAL_USART0_RX   1
 
#define SI32_SIGNAL_USART0_RTS   2
 
#define SI32_SIGNAL_USART0_CTS   3
 
#define SI32_SIGNAL_USART0_UCLK   4
 
#define SI32_SIGNAL_SPI0_SCK   5
 
#define SI32_SIGNAL_SPI0_MISO   6
 
#define SI32_SIGNAL_SPI0_MOSI   7
 
#define SI32_SIGNAL_SPI0_NSS   8
 
#define SI32_SIGNAL_USART1_TX   9
 
#define SI32_SIGNAL_USART1_RX   10
 
#define SI32_SIGNAL_USART1_RTS   11
 
#define SI32_SIGNAL_USART1_CTS   12
 
#define SI32_SIGNAL_USART1_UCLK   13
 
#define SI32_SIGNAL_EPCA0_CEX0   14
 
#define SI32_SIGNAL_EPCA0_CEX1   15
 
#define SI32_SIGNAL_EPCA0_CEX2   16
 
#define SI32_SIGNAL_EPCA0_CEX3   17
 
#define SI32_SIGNAL_EPCA0_CEX4   18
 
#define SI32_SIGNAL_EPCA0_CEX4   19
 
#define SI32_SIGNAL_PCA0_CEX0   20
 
#define SI32_SIGNAL_PCA0_CEX1   21
 
#define SI32_SIGNAL_PCA1_CEX0   22
 
#define SI32_SIGNAL_PCA1_CEX1   23
 
#define SI32_SIGNAL_EPCA0_ECI   24
 
#define SI32_SIGNAL_PCA0_ECI   25
 
#define SI32_SIGNAL_PCA1_ECI   26
 
#define SI32_SIGNAL_I2S0_TX_WS   27
 
#define SI32_SIGNAL_I2S0_TX_SCK   28
 
#define SI32_SIGNAL_I2S0_TX_SD   29
 
#define SI32_SIGNAL_I2C0_SDA   30
 
#define SI32_SIGNAL_I2C0_SCL   31
 
#define SI32_SIGNAL_CMP0S   32
 
#define SI32_SIGNAL_CMP0A   33
 
#define SI32_SIGNAL_CMP1S   34
 
#define SI32_SIGNAL_CMP1A   35
 
#define SI32_SIGNAL_TIMER0_CT   36
 
#define SI32_SIGNAL_TIMER0_EX   37
 
#define SI32_SIGNAL_TIMER1_CT   38
 
#define SI32_SIGNAL_TIMER1_EX   39
 
#define SI32_SIGNAL_UART0_TX   40
 
#define SI32_SIGNAL_UART0_RX   41
 
#define SI32_SIGNAL_UART0_RTS   42
 
#define SI32_SIGNAL_UART0_CTS   43
 
#define SI32_SIGNAL_UART1_TX   44
 
#define SI32_SIGNAL_UART1_RX   45
 
#define SI32_SIGNAL_SPI1_SCK   46
 
#define SI32_SIGNAL_SPI1_MISO   47
 
#define SI32_SIGNAL_SPI1_MOSI   48
 
#define SI32_SIGNAL_SPI1_NSS   49
 
#define SI32_SIGNAL_SPI2_SCK   50
 
#define SI32_SIGNAL_SPI2_MISO   51
 
#define SI32_SIGNAL_SPI2_MOSI   52
 
#define SI32_SIGNAL_SPI2_NSS   53
 
#define SI32_SIGNAL_AHB_OUT   54
 
#define SI32_SIGNAL_SSG0_EX0   55
 
#define SI32_SIGNAL_SSG0_EX1   56
 
#define SI32_SIGNAL_SSG0_EX2   57
 
#define SI32_SIGNAL_SSG0_EX3   58
 
#define SI32_SIGNAL_RTC0_OUT   59
 
#define SI32_SIGNAL_I2S0_RX_WS   60
 
#define SI32_SIGNAL_I2S0_RX_SCK   61
 
#define SI32_SIGNAL_I2S0_RX_SD   62
 
#define SI32_SIGNAL_LPTIMER0_OUT   63
 
#define SI32_SIGNAL_I2C1_SDA   64
 
#define SI32_SIGNAL_I2C1_SCL   65
 
#define SI32_SIGNAL_PB_HDKILL   66
 
#define SI32_MUX(fun, port, pin)
 Specify MUX field.
 

Macro Definition Documentation

◆ SI32_MUX

#define SI32_MUX ( fun,
port,
pin )
Value:
((((port)&0x7)) | (((pin)&0xF) << 3) | ((SI32_SIGNAL_##fun & 0x7F) << 22))

Specify MUX field.

Parameters
funFunction name
portPort number (0 to 4)
pinPort pin number (0 to 15)

◆ SI32_SIGNAL_AHB_OUT

#define SI32_SIGNAL_AHB_OUT   54

◆ SI32_SIGNAL_CMP0A

#define SI32_SIGNAL_CMP0A   33

◆ SI32_SIGNAL_CMP0S

#define SI32_SIGNAL_CMP0S   32

◆ SI32_SIGNAL_CMP1A

#define SI32_SIGNAL_CMP1A   35

◆ SI32_SIGNAL_CMP1S

#define SI32_SIGNAL_CMP1S   34

◆ SI32_SIGNAL_EPCA0_CEX0

#define SI32_SIGNAL_EPCA0_CEX0   14

◆ SI32_SIGNAL_EPCA0_CEX1

#define SI32_SIGNAL_EPCA0_CEX1   15

◆ SI32_SIGNAL_EPCA0_CEX2

#define SI32_SIGNAL_EPCA0_CEX2   16

◆ SI32_SIGNAL_EPCA0_CEX3

#define SI32_SIGNAL_EPCA0_CEX3   17

◆ SI32_SIGNAL_EPCA0_CEX4 [1/2]

#define SI32_SIGNAL_EPCA0_CEX4   18

◆ SI32_SIGNAL_EPCA0_CEX4 [2/2]

#define SI32_SIGNAL_EPCA0_CEX4   19

◆ SI32_SIGNAL_EPCA0_ECI

#define SI32_SIGNAL_EPCA0_ECI   24

◆ SI32_SIGNAL_I2C0_SCL

#define SI32_SIGNAL_I2C0_SCL   31

◆ SI32_SIGNAL_I2C0_SDA

#define SI32_SIGNAL_I2C0_SDA   30

◆ SI32_SIGNAL_I2C1_SCL

#define SI32_SIGNAL_I2C1_SCL   65

◆ SI32_SIGNAL_I2C1_SDA

#define SI32_SIGNAL_I2C1_SDA   64

◆ SI32_SIGNAL_I2S0_RX_SCK

#define SI32_SIGNAL_I2S0_RX_SCK   61

◆ SI32_SIGNAL_I2S0_RX_SD

#define SI32_SIGNAL_I2S0_RX_SD   62

◆ SI32_SIGNAL_I2S0_RX_WS

#define SI32_SIGNAL_I2S0_RX_WS   60

◆ SI32_SIGNAL_I2S0_TX_SCK

#define SI32_SIGNAL_I2S0_TX_SCK   28

◆ SI32_SIGNAL_I2S0_TX_SD

#define SI32_SIGNAL_I2S0_TX_SD   29

◆ SI32_SIGNAL_I2S0_TX_WS

#define SI32_SIGNAL_I2S0_TX_WS   27

◆ SI32_SIGNAL_LPTIMER0_OUT

#define SI32_SIGNAL_LPTIMER0_OUT   63

◆ SI32_SIGNAL_PB_HDKILL

#define SI32_SIGNAL_PB_HDKILL   66

◆ SI32_SIGNAL_PCA0_CEX0

#define SI32_SIGNAL_PCA0_CEX0   20

◆ SI32_SIGNAL_PCA0_CEX1

#define SI32_SIGNAL_PCA0_CEX1   21

◆ SI32_SIGNAL_PCA0_ECI

#define SI32_SIGNAL_PCA0_ECI   25

◆ SI32_SIGNAL_PCA1_CEX0

#define SI32_SIGNAL_PCA1_CEX0   22

◆ SI32_SIGNAL_PCA1_CEX1

#define SI32_SIGNAL_PCA1_CEX1   23

◆ SI32_SIGNAL_PCA1_ECI

#define SI32_SIGNAL_PCA1_ECI   26

◆ SI32_SIGNAL_RTC0_OUT

#define SI32_SIGNAL_RTC0_OUT   59

◆ SI32_SIGNAL_SPI0_MISO

#define SI32_SIGNAL_SPI0_MISO   6

◆ SI32_SIGNAL_SPI0_MOSI

#define SI32_SIGNAL_SPI0_MOSI   7

◆ SI32_SIGNAL_SPI0_NSS

#define SI32_SIGNAL_SPI0_NSS   8

◆ SI32_SIGNAL_SPI0_SCK

#define SI32_SIGNAL_SPI0_SCK   5

◆ SI32_SIGNAL_SPI1_MISO

#define SI32_SIGNAL_SPI1_MISO   47

◆ SI32_SIGNAL_SPI1_MOSI

#define SI32_SIGNAL_SPI1_MOSI   48

◆ SI32_SIGNAL_SPI1_NSS

#define SI32_SIGNAL_SPI1_NSS   49

◆ SI32_SIGNAL_SPI1_SCK

#define SI32_SIGNAL_SPI1_SCK   46

◆ SI32_SIGNAL_SPI2_MISO

#define SI32_SIGNAL_SPI2_MISO   51

◆ SI32_SIGNAL_SPI2_MOSI

#define SI32_SIGNAL_SPI2_MOSI   52

◆ SI32_SIGNAL_SPI2_NSS

#define SI32_SIGNAL_SPI2_NSS   53

◆ SI32_SIGNAL_SPI2_SCK

#define SI32_SIGNAL_SPI2_SCK   50

◆ SI32_SIGNAL_SSG0_EX0

#define SI32_SIGNAL_SSG0_EX0   55

◆ SI32_SIGNAL_SSG0_EX1

#define SI32_SIGNAL_SSG0_EX1   56

◆ SI32_SIGNAL_SSG0_EX2

#define SI32_SIGNAL_SSG0_EX2   57

◆ SI32_SIGNAL_SSG0_EX3

#define SI32_SIGNAL_SSG0_EX3   58

◆ SI32_SIGNAL_TIMER0_CT

#define SI32_SIGNAL_TIMER0_CT   36

◆ SI32_SIGNAL_TIMER0_EX

#define SI32_SIGNAL_TIMER0_EX   37

◆ SI32_SIGNAL_TIMER1_CT

#define SI32_SIGNAL_TIMER1_CT   38

◆ SI32_SIGNAL_TIMER1_EX

#define SI32_SIGNAL_TIMER1_EX   39

◆ SI32_SIGNAL_UART0_CTS

#define SI32_SIGNAL_UART0_CTS   43

◆ SI32_SIGNAL_UART0_RTS

#define SI32_SIGNAL_UART0_RTS   42

◆ SI32_SIGNAL_UART0_RX

#define SI32_SIGNAL_UART0_RX   41

◆ SI32_SIGNAL_UART0_TX

#define SI32_SIGNAL_UART0_TX   40

◆ SI32_SIGNAL_UART1_RX

#define SI32_SIGNAL_UART1_RX   45

◆ SI32_SIGNAL_UART1_TX

#define SI32_SIGNAL_UART1_TX   44

◆ SI32_SIGNAL_USART0_CTS

#define SI32_SIGNAL_USART0_CTS   3

◆ SI32_SIGNAL_USART0_RTS

#define SI32_SIGNAL_USART0_RTS   2

◆ SI32_SIGNAL_USART0_RX

#define SI32_SIGNAL_USART0_RX   1

◆ SI32_SIGNAL_USART0_TX

#define SI32_SIGNAL_USART0_TX   0

◆ SI32_SIGNAL_USART0_UCLK

#define SI32_SIGNAL_USART0_UCLK   4

◆ SI32_SIGNAL_USART1_CTS

#define SI32_SIGNAL_USART1_CTS   12

◆ SI32_SIGNAL_USART1_RTS

#define SI32_SIGNAL_USART1_RTS   11

◆ SI32_SIGNAL_USART1_RX

#define SI32_SIGNAL_USART1_RX   10

◆ SI32_SIGNAL_USART1_TX

#define SI32_SIGNAL_USART1_TX   9

◆ SI32_SIGNAL_USART1_UCLK

#define SI32_SIGNAL_USART1_UCLK   13