Microchip® Advanced Software Framework

conf_test.h File Reference

SAM D21 Xplained Pro test configuration.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define CONF_SPI_MASTER_DATA_IN_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD3
 
#define CONF_SPI_MASTER_DATA_OUT_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD0
 
#define CONF_SPI_MASTER_MODULE   EXT2_SPI_MODULE
 
#define CONF_SPI_MASTER_SCK_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD1
 
#define CONF_SPI_MASTER_SPI_MUX   SPI_SIGNAL_MUX_SETTING_D
 
#define CONF_SPI_SLAVE_DATA_IN_PIN_MUX   EXT3_SPI_SERCOM_PINMUX_PAD0
 
#define CONF_SPI_SLAVE_DATA_OUT_PIN_MUX   EXT3_SPI_SERCOM_PINMUX_PAD3
 
#define CONF_SPI_SLAVE_MODULE   EXT3_SPI_MODULE
 
#define CONF_SPI_SLAVE_SCK_PIN_MUX   EXT3_SPI_SERCOM_PINMUX_PAD1
 
#define CONF_SPI_SLAVE_SPI_MUX   SPI_SIGNAL_MUX_SETTING_I
 
#define CONF_SPI_SLAVE_SS_PIN   EXT2_PIN_16
 
#define CONF_SPI_SLAVE_SS_PIN_MUX   EXT3_SPI_SERCOM_PINMUX_PAD2
 
#define CONF_STDIO_BAUDRATE   38400
 
#define CONF_STDIO_MUX_SETTING   EDBG_CDC_SERCOM_MUX_SETTING
 
#define CONF_STDIO_PINMUX_PAD0   EDBG_CDC_SERCOM_PINMUX_PAD0
 
#define CONF_STDIO_PINMUX_PAD1   EDBG_CDC_SERCOM_PINMUX_PAD1
 
#define CONF_STDIO_PINMUX_PAD2   EDBG_CDC_SERCOM_PINMUX_PAD2
 
#define CONF_STDIO_PINMUX_PAD3   EDBG_CDC_SERCOM_PINMUX_PAD3
 
#define CONF_STDIO_USART   EDBG_CDC_MODULE
 

#define CONF_SPI_MASTER_DATA_IN_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD3
#define CONF_SPI_MASTER_DATA_OUT_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD0
#define CONF_SPI_MASTER_MODULE   EXT2_SPI_MODULE
#define CONF_SPI_MASTER_SCK_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD1
#define CONF_SPI_MASTER_SPI_MUX   SPI_SIGNAL_MUX_SETTING_D
#define CONF_SPI_SLAVE_DATA_IN_PIN_MUX   EXT3_SPI_SERCOM_PINMUX_PAD0
#define CONF_SPI_SLAVE_DATA_OUT_PIN_MUX   EXT3_SPI_SERCOM_PINMUX_PAD3
#define CONF_SPI_SLAVE_MODULE   EXT3_SPI_MODULE
#define CONF_SPI_SLAVE_SCK_PIN_MUX   EXT3_SPI_SERCOM_PINMUX_PAD1
#define CONF_SPI_SLAVE_SPI_MUX   SPI_SIGNAL_MUX_SETTING_I
#define CONF_SPI_SLAVE_SS_PIN   EXT2_PIN_16

Referenced by run_spi_init_test().

#define CONF_SPI_SLAVE_SS_PIN_MUX   EXT3_SPI_SERCOM_PINMUX_PAD2
#define CONF_STDIO_BAUDRATE   38400

Referenced by cdc_uart_init().

#define CONF_STDIO_MUX_SETTING   EDBG_CDC_SERCOM_MUX_SETTING

Referenced by cdc_uart_init().

#define CONF_STDIO_PINMUX_PAD0   EDBG_CDC_SERCOM_PINMUX_PAD0

Referenced by cdc_uart_init().

#define CONF_STDIO_PINMUX_PAD1   EDBG_CDC_SERCOM_PINMUX_PAD1

Referenced by cdc_uart_init().

#define CONF_STDIO_PINMUX_PAD2   EDBG_CDC_SERCOM_PINMUX_PAD2

Referenced by cdc_uart_init().

#define CONF_STDIO_PINMUX_PAD3   EDBG_CDC_SERCOM_PINMUX_PAD3

Referenced by cdc_uart_init().

#define CONF_STDIO_USART   EDBG_CDC_MODULE

Referenced by cdc_uart_init().