Microchip® Advanced Software Framework

conf_test.h File Reference

SAM C21 Xplained Pro test configuration.

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

Macros

#define CONF_I2C_MASTER_MODULE   SERCOM5
 
#define CONF_I2C_SLAVE_MODULE   SERCOM2
 
#define CONF_MASTER_SCK_PINMUX   PINMUX_PB31D_SERCOM5_PAD1
 
#define CONF_MASTER_SDA_PINMUX   PINMUX_PB30D_SERCOM5_PAD0
 
#define CONF_SLAVE_SCK_PINMUX   PINMUX_PA13C_SERCOM2_PAD1
 
#define CONF_SLAVE_SDA_PINMUX   PINMUX_PA12C_SERCOM2_PAD0
 
#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_I2C_MASTER_MODULE   SERCOM5
#define CONF_I2C_SLAVE_MODULE   SERCOM2

Referenced by run_i2c_init_test().

#define CONF_MASTER_SCK_PINMUX   PINMUX_PB31D_SERCOM5_PAD1
#define CONF_MASTER_SDA_PINMUX   PINMUX_PB30D_SERCOM5_PAD0
#define CONF_SLAVE_SCK_PINMUX   PINMUX_PA13C_SERCOM2_PAD1

Referenced by run_i2c_init_test().

#define CONF_SLAVE_SDA_PINMUX   PINMUX_PA12C_SERCOM2_PAD0

Referenced by run_i2c_init_test().

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