Microchip® Advanced Software Framework

conf_test.h File Reference

SAM C21 Xplained Pro test configuration.

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

Macros

#define CONF_SPI_MASTER_DATA_IN_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD0
 
#define CONF_SPI_MASTER_DATA_OUT_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD2
 
#define CONF_SPI_MASTER_MODULE   EXT2_SPI_MODULE
 
#define CONF_SPI_MASTER_SCK_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD3
 
#define CONF_SPI_MASTER_SPI_MUX   EXT2_SPI_SERCOM_MUX_SETTING
 
#define CONF_SPI_SLAVE_DATA_IN_PIN_MUX   EXT1_SPI_SERCOM_PINMUX_PAD0
 
#define CONF_SPI_SLAVE_DATA_OUT_PIN_MUX   EXT1_SPI_SERCOM_PINMUX_PAD2
 
#define CONF_SPI_SLAVE_MODULE   EXT1_SPI_MODULE
 
#define CONF_SPI_SLAVE_SCK_PIN_MUX   EXT1_SPI_SERCOM_PINMUX_PAD3
 
#define CONF_SPI_SLAVE_SPI_MUX   EXT1_SPI_SERCOM_MUX_SETTING
 
#define CONF_SPI_SLAVE_SS_PIN   EXT2_PIN_SPI_SS_0
 
#define CONF_SPI_SLAVE_SS_PIN_MUX   EXT1_SPI_SERCOM_PINMUX_PAD1
 
#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_PAD0
#define CONF_SPI_MASTER_DATA_OUT_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD2
#define CONF_SPI_MASTER_MODULE   EXT2_SPI_MODULE
#define CONF_SPI_MASTER_SCK_PIN_MUX   EXT2_SPI_SERCOM_PINMUX_PAD3
#define CONF_SPI_MASTER_SPI_MUX   EXT2_SPI_SERCOM_MUX_SETTING
#define CONF_SPI_SLAVE_DATA_IN_PIN_MUX   EXT1_SPI_SERCOM_PINMUX_PAD0
#define CONF_SPI_SLAVE_DATA_OUT_PIN_MUX   EXT1_SPI_SERCOM_PINMUX_PAD2
#define CONF_SPI_SLAVE_MODULE   EXT1_SPI_MODULE
#define CONF_SPI_SLAVE_SCK_PIN_MUX   EXT1_SPI_SERCOM_PINMUX_PAD3
#define CONF_SPI_SLAVE_SPI_MUX   EXT1_SPI_SERCOM_MUX_SETTING
#define CONF_SPI_SLAVE_SS_PIN   EXT2_PIN_SPI_SS_0

Referenced by run_spi_init_test().

#define CONF_SPI_SLAVE_SS_PIN_MUX   EXT1_SPI_SERCOM_PINMUX_PAD1
#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().