Microchip® Advanced Software Framework

samc21_xplained_pro.h File Reference

SAM C21 Xplained Pro board definition.

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

#include <conf_board.h>
#include <compiler.h>

Macros

#define BOARD_NAME   "SAMC21_XPLAINED_PRO"
 Name string macro. More...
 
#define BUTTON_COUNT   1
 Number of on-board buttons. More...
 
#define LED_COUNT   1
 Number of on-board LEDs. More...
 
#define LED_Off(led_gpio)   port_pin_set_output_level(led_gpio,true)
 Turns off the specified LEDs. More...
 
#define LED_On(led_gpio)   port_pin_set_output_level(led_gpio,false)
 Turns on the specified LEDs. More...
 
#define LED_Toggle(led_gpio)   port_pin_toggle_output_level(led_gpio)
 Toggles the specified LEDs. More...
 
Resonator definitions
#define BOARD_FREQ_SLCK_XTAL   (32768U)
 
#define BOARD_FREQ_SLCK_BYPASS   (32768U)
 
#define BOARD_FREQ_MAINCK_XTAL   0 /* Not Mounted */
 
#define BOARD_FREQ_MAINCK_BYPASS   0 /* Not Mounted */
 
#define BOARD_MCK   CHIP_FREQ_CPU_MAX
 
#define BOARD_OSC_STARTUP_US   15625
 
LED0 definitions
#define LED0_PIN   PIN_PA15
 
#define LED0_ACTIVE   false
 
#define LED0_INACTIVE   !LED0_ACTIVE
 
SW0 definitions
#define SW0_PIN   PIN_PA28
 
#define SW0_ACTIVE   false
 
#define SW0_INACTIVE   !SW0_ACTIVE
 
#define SW0_EIC_PIN   PIN_PA28A_EIC_EXTINT8
 
#define SW0_EIC_MUX   MUX_PA28A_EIC_EXTINT8
 
#define SW0_EIC_PINMUX   PINMUX_PA28A_EIC_EXTINT8
 
#define SW0_EIC_LINE   8
 
LED #0 definitions

Wrapper macros for LED0, to ensure common naming across all Xplained Pro boards.

#define LED_0_NAME   "LED0 (yellow)"
 
#define LED_0_PIN   LED0_PIN
 
#define LED_0_ACTIVE   LED0_ACTIVE
 
#define LED_0_INACTIVE   LED0_INACTIVE
 
#define LED0_GPIO   LED0_PIN
 
#define LED0   LED0_PIN
 
#define LED_0_PWM4CTRL_MODULE   TCC0
 
#define LED_0_PWM4CTRL_CHANNEL   1
 
#define LED_0_PWM4CTRL_OUTPUT   1
 
#define LED_0_PWM4CTRL_PIN   PIN_PA15F_TCC0_WO5
 
#define LED_0_PWM4CTRL_MUX   MUX_PA15F_TCC0_WO5
 
#define LED_0_PWM4CTRL_PINMUX   PINMUX_PA15F_TCC0_WO5
 
Button #0 definitions

Wrapper macros for SW0, to ensure common naming across all Xplained Pro boards.

#define BUTTON_0_NAME   "SW0"
 
#define BUTTON_0_PIN   SW0_PIN
 
#define BUTTON_0_ACTIVE   SW0_ACTIVE
 
#define BUTTON_0_INACTIVE   SW0_INACTIVE
 
#define BUTTON_0_EIC_PIN   SW0_EIC_PIN
 
#define BUTTON_0_EIC_MUX   SW0_EIC_MUX
 
#define BUTTON_0_EIC_PINMUX   SW0_EIC_PINMUX
 
#define BUTTON_0_EIC_LINE   SW0_EIC_LINE
 
Extension header #1 pin definitions
#define EXT1_PIN_3   PIN_PB09
 
#define EXT1_PIN_4   PIN_PB08
 
#define EXT1_PIN_5   PIN_PA20
 
#define EXT1_PIN_6   PIN_PA21
 
#define EXT1_PIN_7   PIN_PB12
 
#define EXT1_PIN_8   PIN_PB13
 
#define EXT1_PIN_9   PIN_PB14
 
#define EXT1_PIN_10   PIN_PB15
 
#define EXT1_PIN_11   PIN_PA12
 
#define EXT1_PIN_12   PIN_PA13
 
#define EXT1_PIN_13   PIN_PA23
 
#define EXT1_PIN_14   PIN_PA22
 
#define EXT1_PIN_15   PIN_PA17
 
#define EXT1_PIN_16   PIN_PA18
 
#define EXT1_PIN_17   PIN_PA16
 
#define EXT1_PIN_18   PIN_PA19
 
Extension header #1 pin definitions by function
#define EXT1_PIN_ADC_0   EXT1_PIN_3
 
#define EXT1_PIN_ADC_1   EXT1_PIN_4
 
#define EXT1_PIN_GPIO_0   EXT1_PIN_5
 
#define EXT1_PIN_GPIO_1   EXT1_PIN_6
 
#define EXT1_PIN_PWM_0   EXT1_PIN_7
 
#define EXT1_PIN_PWM_1   EXT1_PIN_8
 
#define EXT1_PIN_IRQ   EXT1_PIN_9
 
#define EXT1_PIN_I2C_SDA   EXT1_PIN_11
 
#define EXT1_PIN_I2C_SCL   EXT1_PIN_12
 
#define EXT1_PIN_UART_RX   EXT1_PIN_13
 
#define EXT1_PIN_UART_TX   EXT1_PIN_14
 
#define EXT1_PIN_SPI_SS_1   EXT1_PIN_10
 
#define EXT1_PIN_SPI_SS_0   EXT1_PIN_15
 
#define EXT1_PIN_SPI_MOSI   EXT1_PIN_16
 
#define EXT1_PIN_SPI_MISO   EXT1_PIN_17
 
#define EXT1_PIN_SPI_SCK   EXT1_PIN_18
 
Extension header #1 IRQ/External interrupt definitions
#define EXT1_IRQ_MODULE   EIC
 
#define EXT1_IRQ_INPUT   14
 
#define EXT1_IRQ_PIN   PIN_PB14A_EIC_EXTINT14
 
#define EXT1_IRQ_MUX   MUX_PB14A_EIC_EXTINT14
 
#define EXT1_IRQ_PINMUX   PINMUX_PB14A_EIC_EXTINT14
 
Extension header #1 I2C definitions
#define EXT1_I2C_MODULE   SERCOM2
 
#define EXT1_I2C_SERCOM_PINMUX_PAD0   PINMUX_PA12C_SERCOM2_PAD0
 
#define EXT1_I2C_SERCOM_PINMUX_PAD1   PINMUX_PA13C_SERCOM2_PAD1
 
#define EXT1_I2C_SERCOM_DMAC_ID_TX   SERCOM2_DMAC_ID_TX
 
#define EXT1_I2C_SERCOM_DMAC_ID_RX   SERCOM2_DMAC_ID_RX
 
Extension header #1 UART definitions
#define EXT1_UART_MODULE   SERCOM3
 
#define EXT1_UART_SERCOM_MUX_SETTING   USART_RX_1_TX_0_XCK_1
 
#define EXT1_UART_SERCOM_PINMUX_PAD0   PINMUX_PA22C_SERCOM3_PAD0
 
#define EXT1_UART_SERCOM_PINMUX_PAD1   PINMUX_PA23C_SERCOM3_PAD1
 
#define EXT1_UART_SERCOM_PINMUX_PAD2   PINMUX_UNUSED
 
#define EXT1_UART_SERCOM_PINMUX_PAD3   PINMUX_UNUSED
 
#define EXT1_UART_SERCOM_DMAC_ID_TX   SERCOM3_DMAC_ID_TX
 
#define EXT1_UART_SERCOM_DMAC_ID_RX   SERCOM3_DMAC_ID_RX
 
Extension header #1 USART RS485 definitions
#define EXT1_RS485_MODULE   SERCOM3
 
#define EXT1_RS485_SERCOM_MUX_SETTING   USART_RX_1_TX_0_XCK_1_TE_2
 
#define EXT1_RS485_SERCOM_PINMUX_PAD0   PINMUX_PA22C_SERCOM3_PAD0
 
#define EXT1_RS485_SERCOM_PINMUX_PAD1   PINMUX_PA23C_SERCOM3_PAD1
 
#define EXT1_RS485_SERCOM_PINMUX_PAD2   PINMUX_PA20D_SERCOM3_PAD2
 
#define EXT1_RS485_SERCOM_PINMUX_PAD3   PINMUX_UNUSED
 
#define EXT1_RS485_SERCOM_DMAC_ID_TX   SERCOM1_DMAC_ID_TX
 
#define EXT1_RS485_SERCOM_DMAC_ID_RX   SERCOM1_DMAC_ID_RX
 
Extension header #1 SPI definitions
#define EXT1_SPI_MODULE   SERCOM1
 
#define EXT1_SPI_SERCOM_MUX_SETTING   SPI_SIGNAL_MUX_SETTING_E
 
#define EXT1_SPI_SERCOM_PINMUX_PAD0   PINMUX_PA16C_SERCOM1_PAD0
 
#define EXT1_SPI_SERCOM_PINMUX_PAD1   PINMUX_PA17C_SERCOM1_PAD1
 
#define EXT1_SPI_SERCOM_PINMUX_PAD2   PINMUX_PA18C_SERCOM1_PAD2
 
#define EXT1_SPI_SERCOM_PINMUX_PAD3   PINMUX_PA19C_SERCOM1_PAD3
 
#define EXT1_SPI_SERCOM_DMAC_ID_TX   SERCOM1_DMAC_ID_TX
 
#define EXT1_SPI_SERCOM_DMAC_ID_RX   SERCOM1_DMAC_ID_RX
 
Extension header #1 PWM definitions
#define EXT1_PWM_MODULE   TC0
 
#define EXT1_PWM_0_CHANNEL   0
 
#define EXT1_PWM_0_PIN   PIN_PB12E_TC0_WO0
 
#define EXT1_PWM_0_MUX   MUX_PB12E_TC0_WO0
 
#define EXT1_PWM_0_PINMUX   PINMUX_PB12E_TC0_WO0
 
#define EXT1_PWM_1_CHANNEL   1
 
#define EXT1_PWM_1_PIN   PIN_PB13E_TC0_WO1
 
#define EXT1_PWM_1_MUX   MUX_PB13E_TC0_WO1
 
#define EXT1_PWM_1_PINMUX   PINMUX_PB13E_TC0_WO1
 
Extension header #2 pin definitions
#define EXT2_PIN_3   PIN_PA08
 
#define EXT2_PIN_4   PIN_PA09
 
#define EXT2_PIN_5   PIN_PA10
 
#define EXT2_PIN_6   PIN_PA11
 
#define EXT2_PIN_7   PIN_PB30
 
#define EXT2_PIN_8   PIN_PB31
 
#define EXT2_PIN_9   PIN_PB16
 
#define EXT2_PIN_10   PIN_PB17
 
#define EXT2_PIN_11   PIN_PA12
 
#define EXT2_PIN_12   PIN_PA13
 
#define EXT2_PIN_13   PIN_PA23
 
#define EXT2_PIN_14   PIN_PA22
 
#define EXT2_PIN_15   PIN_PB03
 
#define EXT2_PIN_16   PIN_PB00
 
#define EXT2_PIN_17   PIN_PB02
 
#define EXT2_PIN_18   PIN_PB01
 
Extension header #2 pin definitions by function
#define EXT2_PIN_ADC_0   EXT2_PIN_3
 
#define EXT2_PIN_ADC_1   EXT2_PIN_4
 
#define EXT2_PIN_GPIO_0   EXT2_PIN_5
 
#define EXT2_PIN_GPIO_1   EXT2_PIN_6
 
#define EXT2_PIN_PWM_0   EXT2_PIN_7
 
#define EXT2_PIN_PWM_1   EXT2_PIN_8
 
#define EXT2_PIN_IRQ   EXT2_PIN_9
 
#define EXT2_PIN_I2C_SDA   EXT2_PIN_11
 
#define EXT2_PIN_I2C_SCL   EXT2_PIN_12
 
#define EXT2_PIN_UART_RX   EXT2_PIN_13
 
#define EXT2_PIN_UART_TX   EXT2_PIN_14
 
#define EXT2_PIN_SPI_SS_1   EXT2_PIN_10
 
#define EXT2_PIN_SPI_SS_0   EXT2_PIN_15
 
#define EXT2_PIN_SPI_MOSI   EXT2_PIN_16
 
#define EXT2_PIN_SPI_MISO   EXT2_PIN_17
 
#define EXT2_PIN_SPI_SCK   EXT2_PIN_18
 
Extension header #2 IRQ/External interrupt definitions
#define EXT2_IRQ_MODULE   EIC
 
#define EXT2_IRQ_INPUT   16
 
#define EXT2_IRQ_PIN   PIN_PB16A_EIC_EXTINT0
 
#define EXT2_IRQ_MUX   MUX_PB16A_EIC_EXTINT0
 
#define EXT2_IRQ_PINMUX   PINMUX_PB16A_EIC_EXTINT0
 
Extension header #2 I2C definitions
#define EXT2_I2C_MODULE   SERCOM2
 
#define EXT2_I2C_SERCOM_PINMUX_PAD0   PINMUX_PA12C_SERCOM2_PAD0
 
#define EXT2_I2C_SERCOM_PINMUX_PAD1   PINMUX_PA13C_SERCOM2_PAD1
 
#define EXT2_I2C_SERCOM_DMAC_ID_TX   SERCOM2_DMAC_ID_TX
 
#define EXT2_I2C_SERCOM_DMAC_ID_RX   SERCOM2_DMAC_ID_RX
 
Extension header #2 UART definitions
#define EXT2_UART_MODULE   SERCOM3
 
#define EXT2_UART_SERCOM_MUX_SETTING   USART_RX_1_TX_0_XCK_1
 
#define EXT2_UART_SERCOM_PINMUX_PAD0   PINMUX_PA22C_SERCOM3_PAD0
 
#define EXT2_UART_SERCOM_PINMUX_PAD1   PINMUX_PA23C_SERCOM3_PAD1
 
#define EXT2_UART_SERCOM_PINMUX_PAD2   PINMUX_UNUSED
 
#define EXT2_UART_SERCOM_PINMUX_PAD3   PINMUX_UNUSED
 
#define EXT2_UART_SERCOM_DMAC_ID_TX   SERCOM3_DMAC_ID_TX
 
#define EXT2_UART_SERCOM_DMAC_ID_RX   SERCOM3_DMAC_ID_RX
 
Extension header #2 USART RS485 definitions
#define EXT2_RS485_MODULE   SERCOM3
 
#define EXT2_RS485_SERCOM_MUX_SETTING   USART_RX_1_TX_0_XCK_1_TE_2
 
#define EXT2_RS485_SERCOM_PINMUX_PAD0   PINMUX_PA22C_SERCOM3_PAD0
 
#define EXT2_RS485_SERCOM_PINMUX_PAD1   PINMUX_PA23C_SERCOM3_PAD1
 
#define EXT2_RS485_SERCOM_PINMUX_PAD2   PINMUX_PA18D_SERCOM3_PAD2
 
#define EXT2_RS485_SERCOM_PINMUX_PAD3   PINMUX_UNUSED
 
#define EXT2_RS485_SERCOM_DMAC_ID_TX   SERCOM3_DMAC_ID_TX
 
#define EXT2_RS485_SERCOM_DMAC_ID_RX   SERCOM3_DMAC_ID_RX
 
Extension header #2 SPI definitions
#define EXT2_SPI_MODULE   SERCOM5
 
#define EXT2_SPI_SERCOM_MUX_SETTING   SPI_SIGNAL_MUX_SETTING_E
 
#define EXT2_SPI_SERCOM_PINMUX_PAD0   PINMUX_PB02D_SERCOM5_PAD0
 
#define EXT2_SPI_SERCOM_PINMUX_PAD1   PINMUX_UNUSED
 
#define EXT2_SPI_SERCOM_PINMUX_PAD2   PINMUX_PB00D_SERCOM5_PAD2
 
#define EXT2_SPI_SERCOM_PINMUX_PAD3   PINMUX_PB01D_SERCOM5_PAD3
 
#define EXT2_SPI_SERCOM_DMAC_ID_TX   SERCOM5_DMAC_ID_TX
 
#define EXT2_SPI_SERCOM_DMAC_ID_RX   SERCOM5_DMAC_ID_RX
 
Extension header #3 pin definitions
#define EXT3_PIN_3   PIN_PB07
 
#define EXT3_PIN_4   PIN_PB06
 
#define EXT3_PIN_5   PIN_PB04
 
#define EXT3_PIN_6   PIN_PB05
 
#define EXT3_PIN_7   PIN_PA14
 
#define EXT3_PIN_8   PIN_PA15
 
#define EXT3_PIN_9   PIN_PA28
 
#define EXT3_PIN_10   PIN_PA27
 
#define EXT3_PIN_11   PIN_PA12
 
#define EXT3_PIN_12   PIN_PA13
 
#define EXT3_PIN_13   PIN_PA23
 
#define EXT3_PIN_14   PIN_PA22
 
#define EXT3_PIN_15   PIN_PA02
 
#define EXT3_PIN_16   PIN_PB00
 
#define EXT3_PIN_17   PIN_PB02
 
#define EXT3_PIN_18   PIN_PB01
 
Extension header #3 pin definitions by function
#define EXT3_PIN_ADC_0   EXT3_PIN_3
 
#define EXT3_PIN_ADC_1   EXT3_PIN_4
 
#define EXT3_PIN_GPIO_0   EXT3_PIN_5
 
#define EXT3_PIN_GPIO_1   EXT3_PIN_6
 
#define EXT3_PIN_PWM_0   EXT3_PIN_7
 
#define EXT3_PIN_PWM_1   EXT3_PIN_8
 
#define EXT3_PIN_IRQ   EXT3_PIN_9
 
#define EXT3_PIN_I2C_SDA   EXT3_PIN_11
 
#define EXT3_PIN_I2C_SCL   EXT3_PIN_12
 
#define EXT3_PIN_UART_RX   EXT3_PIN_13
 
#define EXT3_PIN_UART_TX   EXT3_PIN_14
 
#define EXT3_PIN_SPI_SS_1   EXT3_PIN_10
 
#define EXT3_PIN_SPI_SS_0   EXT3_PIN_15
 
#define EXT3_PIN_SPI_MOSI   EXT3_PIN_16
 
#define EXT3_PIN_SPI_MISO   EXT3_PIN_17
 
#define EXT3_PIN_SPI_SCK   EXT3_PIN_18
 
Extension header #3 IRQ/External interrupt definitions
#define EXT3_IRQ_MODULE   EIC
 
#define EXT3_IRQ_INPUT   8
 
#define EXT3_IRQ_PIN   PIN_PA28A_EIC_EXTINT8
 
#define EXT3_IRQ_MUX   MUX_PA28A_EIC_EXTINT8
 
#define EXT3_IRQ_PINMUX   PINMUX_PA28A_EIC_EXTINT8
 
Extension header #3 I2C definitions
#define EXT3_I2C_MODULE   SERCOM2
 
#define EXT3_I2C_SERCOM_PINMUX_PAD0   PINMUX_PA12C_SERCOM2_PAD0
 
#define EXT3_I2C_SERCOM_PINMUX_PAD1   PINMUX_PA13C_SERCOM2_PAD1
 
#define EXT3_I2C_SERCOM_DMAC_ID_TX   SERCOM2_DMAC_ID_TX
 
#define EXT3_I2C_SERCOM_DMAC_ID_RX   SERCOM2_DMAC_ID_RX
 
Extension header #3 SPI definitions
#define EXT3_SPI_MODULE   SERCOM5
 
#define EXT3_SPI_SERCOM_MUX_SETTING   SPI_SIGNAL_MUX_SETTING_E
 
#define EXT3_SPI_SERCOM_PINMUX_PAD0   PINMUX_PB02D_SERCOM5_PAD0
 
#define EXT3_SPI_SERCOM_PINMUX_PAD1   PINMUX_UNUSED
 
#define EXT3_SPI_SERCOM_PINMUX_PAD2   PINMUX_PB00D_SERCOM5_PAD2
 
#define EXT3_SPI_SERCOM_PINMUX_PAD3   PINMUX_PB01D_SERCOM5_PAD3
 
#define EXT3_SPI_SERCOM_DMAC_ID_TX   SERCOM5_DMAC_ID_TX
 
#define EXT3_SPI_SERCOM_DMAC_ID_RX   SERCOM5_DMAC_ID_RX
 
Extension header #3 PWM definitions
#define EXT3_PWM_MODULE   TC4
 
#define EXT3_PWM_0_CHANNEL   0
 
#define EXT3_PWM_0_PIN   PIN_PA14E_TC4_WO0
 
#define EXT3_PWM_0_MUX   MUX_PA14E_TC4_WO0
 
#define EXT3_PWM_0_PINMUX   PINMUX_PA14E_TC4_WO0
 
#define EXT3_PWM_1_CHANNEL   1
 
#define EXT3_PWM_1_PIN   PIN_PA15E_TC4_WO1
 
#define EXT3_PWM_1_MUX   MUX_PA15E_TC4_WO1
 
#define EXT3_PWM_1_PINMUX   PINMUX_PA15E_TC4_WO1
 
LIN definitions
#define LIN_TX_PIN   PIN_PA06
 
#define LIN_RX_PIN   PIN_PA07
 
#define LIN_EN_PIN   PIN_PB22
 
#define LIN_USART_MODULE   SERCOM0
 
#define LIN_USART_SERCOM_MUX_SETTING   USART_RX_3_TX_2_XCK_3
 
#define LIN_USART_SERCOM_PINMUX_PAD0   PINMUX_UNUSED
 
#define LIN_USART_SERCOM_PINMUX_PAD1   PINMUX_UNUSED
 
#define LIN_USART_SERCOM_PINMUX_PAD2   PINMUX_PA06D_SERCOM0_PAD2
 
#define LIN_USART_SERCOM_PINMUX_PAD3   PINMUX_PA07D_SERCOM0_PAD3
 
Embedded debugger I2C interface definitions
#define EDBG_I2C_MODULE   SERCOM2
 
#define EDBG_I2C_SERCOM_PINMUX_PAD0   PINMUX_PA12C_SERCOM2_PAD0
 
#define EDBG_I2C_SERCOM_PINMUX_PAD1   PINMUX_PA13C_SERCOM2_PAD1
 
#define EDBG_I2C_SERCOM_DMAC_ID_TX   SERCOM2_DMAC_ID_TX
 
#define EDBG_I2C_SERCOM_DMAC_ID_RX   SERCOM2_DMAC_ID_RX
 
Embedded debugger SPI interface definitions
#define EDBG_SPI_MODULE   SERCOM5
 
#define EDBG_SPI_SERCOM_MUX_SETTING   SPI_SIGNAL_MUX_SETTING_E
 
#define EDBG_SPI_SERCOM_PINMUX_PAD0   PINMUX_PB02D_SERCOM5_PAD0
 
#define EDBG_SPI_SERCOM_PINMUX_PAD1   PINMUX_PB03D_SERCOM5_PAD1
 
#define EDBG_SPI_SERCOM_PINMUX_PAD2   PINMUX_PB00D_SERCOM5_PAD2
 
#define EDBG_SPI_SERCOM_PINMUX_PAD3   PINMUX_PB01D_SERCOM5_PAD3
 
#define EDBG_SPI_SERCOM_DMAC_ID_TX   SERCOM5_DMAC_ID_TX
 
#define EDBG_SPI_SERCOM_DMAC_ID_RX   SERCOM5_DMAC_ID_RX
 
Embedded debugger CDC Gateway USART interface definitions
#define EDBG_CDC_MODULE   SERCOM4
 
#define EDBG_CDC_SERCOM_MUX_SETTING   USART_RX_3_TX_2_XCK_3
 
#define EDBG_CDC_SERCOM_PINMUX_PAD0   PINMUX_UNUSED
 
#define EDBG_CDC_SERCOM_PINMUX_PAD1   PINMUX_UNUSED
 
#define EDBG_CDC_SERCOM_PINMUX_PAD2   PINMUX_PB10D_SERCOM4_PAD2
 
#define EDBG_CDC_SERCOM_PINMUX_PAD3   PINMUX_PB11D_SERCOM4_PAD3
 
#define EDBG_CDC_SERCOM_DMAC_ID_TX   SERCOM4_DMAC_ID_TX
 
#define EDBG_CDC_SERCOM_DMAC_ID_RX   SERCOM4_DMAC_ID_RX
 
CCL interface definitions
#define CCL_LUT0_IN0_MUX   MUX_PA16I_CCL_IN0
 
#define CCL_LUT0_IN1_MUX   MUX_PA17I_CCL_IN1
 
#define CCL_LUT0_IN2_MUX   MUX_PA18I_CCL_IN2
 
#define CCL_LUT0_OUT_MUX   MUX_PA19I_CCL_OUT0
 
#define CCL_LUT0_IN0_PIN   PIN_PA16I_CCL_IN0
 
#define CCL_LUT0_IN1_PIN   PIN_PA17I_CCL_IN1
 
#define CCL_LUT0_IN2_PIN   PIN_PA18I_CCL_IN2
 
#define CCL_LUT0_OUT_PIN   PIN_PA19I_CCL_OUT0
 
#define CCL_LUT1_IN0_MUX   MUX_PA08I_CCL_IN3
 
#define CCL_LUT1_IN1_MUX   MUX_PA09I_CCL_IN4
 
#define CCL_LUT1_IN2_MUX   MUX_PA10I_CCL_IN5
 
#define CCL_LUT1_OUT_MUX   MUX_PA11I_CCL_OUT1
 
#define CCL_LUT1_IN0_PIN   PIN_PA08I_CCL_IN3
 
#define CCL_LUT1_IN1_PIN   PIN_PA09I_CCL_IN4
 
#define CCL_LUT1_IN2_PIN   PIN_PA10I_CCL_IN5
 
#define CCL_LUT1_OUT_PIN   PIN_PA11I_CCL_OUT1
 
CAN interface definitions
#define CAN_MODULE   CAN0
 
#define CAN_TX_PIN   PIN_PA24G_CAN0_TX
 
#define CAN_TX_MUX_SETTING   MUX_PA24G_CAN0_TX
 
#define CAN_RX_PIN   PIN_PA25G_CAN0_RX
 
#define CAN_RX_MUX_SETTING   MUX_PA25G_CAN0_RX
 

Functions

void system_board_init (void)