19.6.5.8 Enum spi_signal_mux_setting

Set the functionality of the SERCOM pins. As not all combinations can be used in different modes of operation, proper combinations must be chosen according to the rest of the configuration.

Note: In master operation: DI is MISO, DO is MOSI. In slave operation: DI is MOSI, DO is MISO.
See MUX Settings for a description of the various MUX setting options.
Table 19-65. Members
Enum valueDescription

SPI_SIGNAL_MUX_SETTING_A

SPI MUX combination A. DOPO: 0x0, DIPO: 0x0

SPI_SIGNAL_MUX_SETTING_B

SPI MUX combination B. DOPO: 0x0, DIPO: 0x1

SPI_SIGNAL_MUX_SETTING_C

SPI MUX combination C. DOPO: 0x0, DIPO: 0x2

SPI_SIGNAL_MUX_SETTING_D

SPI MUX combination D. DOPO: 0x0, DIPO: 0x3

SPI_SIGNAL_MUX_SETTING_E

SPI MUX combination E. DOPO: 0x1, DIPO: 0x0

SPI_SIGNAL_MUX_SETTING_F

SPI MUX combination F. DOPO: 0x1, DIPO: 0x1

SPI_SIGNAL_MUX_SETTING_G

SPI MUX combination G. DOPO: 0x1, DIPO: 0x2

SPI_SIGNAL_MUX_SETTING_H

SPI MUX combination H. DOPO: 0x1, DIPO: 0x3

SPI_SIGNAL_MUX_SETTING_I

SPI MUX combination I. DOPO: 0x2, DIPO: 0x0

SPI_SIGNAL_MUX_SETTING_J

SPI MUX combination J. DOPO: 0x2, DIPO: 0x1

SPI_SIGNAL_MUX_SETTING_K

SPI MUX combination K. DOPO: 0x2, DIPO: 0x2

SPI_SIGNAL_MUX_SETTING_L

SPI MUX combination L. DOPO: 0x2, DIPO: 0x3

SPI_SIGNAL_MUX_SETTING_M

SPI MUX combination M. DOPO: 0x3, DIPO: 0x0

SPI_SIGNAL_MUX_SETTING_N

SPI MUX combination N. DOPO: 0x3, DIPO: 0x1

SPI_SIGNAL_MUX_SETTING_O

SPI MUX combination O. DOPO: 0x3, DIPO: 0x2

SPI_SIGNAL_MUX_SETTING_P

SPI MUX combination P. DOPO: 0x3, DIPO: 0x3