Microchip® Advanced Software Framework

same70_xplained.h File Reference

SAME70-XPLD Board Definition.

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

#include "compiler.h"
#include "system_same70.h"

Macros

#define AFEC_CHANNEL_POTENTIOMETER   AFEC_CHANNEL_0
 AFEC channel for potentiometer. More...
 
#define BOARD_AT24MAC_ADDRESS   (0xAE >> 1)
 
#define BOARD_AT24MAC_PAGE_SIZE   16
 
#define BOARD_AT24MAC_TWIHS   TWIHS0
 Board configuration of the AT24MAC EEPROM. More...
 
#define BOARD_AT24MAC_TWIHS_CLK   (400000UL)
 
#define BOARD_AT24MAC_TWIHS_INSTANCE   TWIHS0
 
#define BOARD_AT30TSE_ID_TWIHS   ID_TWIHS0
 TWIHS ID for simulated EEPROM application to use. More...
 
#define BOARD_AT30TSE_TWIHS   TWIHS0
 TWIHS Base for simulated TWI EEPROM application to use. More...
 
#define BOARD_BNO055_ID_TWIHS   ID_TWIHS0
 
#define BOARD_BNO055_TWIHS   TWIHS0
 
#define BOARD_CLK_TWIHS_EEPROM   PIO_PA4
 
#define BOARD_FREQ_MAINCK_BYPASS   (12000000U)
 
#define BOARD_FREQ_MAINCK_XTAL   (12000000U)
 
#define BOARD_FREQ_SLCK_BYPASS   (32768U)
 
#define BOARD_FREQ_SLCK_XTAL   (32768U)
 Board oscillator settings. More...
 
#define BOARD_GMAC_PHY_ADDR   0
 GMAC HW configurations. More...
 
#define BOARD_ILI9488_SPI   SPI0
 LCD SPI configuration. More...
 
#define BOARD_ILI9488_SPI_IRQN   SPI0_IRQn
 
#define BOARD_ILI9488_SPI_NPCS   3
 
#define BOARD_MCK   CHIP_FREQ_CPU_MAX
 Master clock frequency. More...
 
#define BOARD_NAME   "SAME70-XPLD"
 Name of the board. More...
 
#define BOARD_NUM_OF_LED   1
 Number of on-board LEDs. More...
 
#define BOARD_OSC_STARTUP_US   15625
 board main clock xtal statup time More...
 
#define BOARD_SDRAM_ADDR   0x70000000
 Address for transferring command bytes to the SDRAM. More...
 
#define BOARD_SDRAM_SIZE   (2 * 1024 * 1024)
 Board SDRAM size for MT48LC16M16A2. More...
 
#define BUTTON_0_ACTIVE   SW0_ACTIVE
 
#define BUTTON_0_INACTIVE   SW0_INACTIVE
 
#define BUTTON_0_NAME   "SW0"
 Push button #0 definition. More...
 
#define BUTTON_0_PIN   SW0_PIN
 
#define BUTTON_0_SUPC_INPUT   SW0_SUPC_INPUT
 
#define CONSOLE_UART   USART1
 
#define CONSOLE_UART_ID   ID_USART1
 
#define cortexm7
 Core definition. More...
 
#define GPIO_PUSH_BUTTON_0   BUTTON_0_PIN
 
#define GPIO_PUSH_BUTTON_1   (PIO_PA11_IDX)
 
#define GPIO_PUSH_BUTTON_1_FLAGS   (IOPORT_MODE_PULLUP | IOPORT_MODE_DEBOUNCE)
 
#define GPIO_PUSH_BUTTON_1_SENSE   (IOPORT_SENSE_RISING)
 
#define LCD_SPI_BACKLIGHT_FLAGS   (PIO_OUTPUT_1 | PIO_DEFAULT)
 
#define LCD_SPI_BACKLIGHT_PIO   PIO_PC19_IDX
 
#define LCD_SPI_CDS_FLAGS   (PIO_OUTPUT_1 | PIO_DEFAULT)
 
#define LCD_SPI_CDS_PIO   PIO_PA6_IDX
 
#define LCD_SPI_MISO_FLAGS   (PIO_PERIPH_B | PIO_DEFAULT)
 
#define LCD_SPI_MISO_PIO   PIO_PD20_IDX
 LCD SPI pins definition. More...
 
#define LCD_SPI_MOSI_FLAGS   (PIO_PERIPH_B | PIO_DEFAULT)
 
#define LCD_SPI_MOSI_PIO   PIO_PD21_IDX
 
#define LCD_SPI_NPCS_FLAGS   (PIO_PERIPH_B | PIO_DEFAULT)
 
#define LCD_SPI_NPCS_PIO   PIO_PD27_IDX
 
#define LCD_SPI_RESET_FLAGS   (PIO_OUTPUT_1 | PIO_DEFAULT)
 
#define LCD_SPI_RESET_PIO   PIO_PA24_IDX
 
#define LCD_SPI_SPCK_FLAGS   (PIO_PERIPH_B | PIO_DEFAULT)
 
#define LCD_SPI_SPCK_PIO   PIO_PD22_IDX
 
#define MAXTOUCH_XPRO_CHG_PIO   PIO_PA2_IDX
 
#define MAXTOUCH_XPRO_TWIHS   TWIHS0
 TWI interface for maXTouch XPRO. More...
 
#define MCAN_MODULE   MCAN1
 
#define PIN_BNO055_EXT_INIERRUPT
 BNO055 external interrupt pin definition. More...
 
#define PIN_BNO055_EXT_INIERRUPT_ATTR   (PIO_DEFAULT | PIO_IT_RISE_EDGE)
 
#define PIN_BNO055_EXT_INIERRUPT_ID   ID_PIOD
 
#define PIN_BNO055_EXT_INIERRUPT_IRQn   PIOD_IRQn
 
#define PIN_BNO055_EXT_INIERRUPT_MASK   PIO_PD28
 
#define PIN_BNO055_EXT_INIERRUPT_PIO   PIOD
 
#define PIN_BNO055_EXT_INIERRUPT_TYPE   PIO_INPUT
 
#define PIN_CAN0_RX_FLAGS   IOPORT_MODE_MUX_A
 
#define PIN_CAN0_RX_IDX   PIO_PB3_IDX
 CAN0 PIN RX. More...
 
#define PIN_CAN0_TR_EN_FLAGS   IOPORT_DIR_OUTPUT
 
#define PIN_CAN0_TR_EN_IDX   PIO_PE1_IDX
 CAN0 transceiver PIN EN. More...
 
#define PIN_CAN0_TR_RS_FLAGS   IOPORT_DIR_OUTPUT
 
#define PIN_CAN0_TR_RS_IDX   PIO_PE0_IDX
 CAN0 transceiver PIN RS. More...
 
#define PIN_CAN0_TX_FLAGS   IOPORT_MODE_MUX_A
 
#define PIN_CAN0_TX_IDX   PIO_PB2_IDX
 CAN0 PIN TX. More...
 
#define PIN_CAN1_RX_FLAGS   IOPORT_MODE_MUX_C
 
#define PIN_CAN1_RX_IDX   PIO_PC12_IDX
 CAN1 PIN RX. More...
 
#define PIN_CAN1_TR_EN_FLAGS   IOPORT_DIR_OUTPUT
 
#define PIN_CAN1_TR_EN_IDX   PIO_PE3_IDX
 CAN1 transceiver PIN EN. More...
 
#define PIN_CAN1_TR_RS_FLAGS   IOPORT_DIR_OUTPUT
 
#define PIN_CAN1_TR_RS_IDX   PIO_PE2_IDX
 CAN1 transceiver PIN RS. More...
 
#define PIN_CAN1_TX_FLAGS   IOPORT_MODE_MUX_C
 
#define PIN_CAN1_TX_IDX   PIO_PC14_IDX
 CAN1 PIN TX. More...
 
#define PIN_EBI_BACKLIGHT_ATTRI   PIO_DEFAULT
 
#define PIN_EBI_BACKLIGHT_MASK   PIO_PC9B_TIOB7
 Back-light pin definition. More...
 
#define PIN_EBI_BACKLIGHT_PIO   PIOC
 
#define PIN_EBI_BACKLIGHT_TYPE   PIO_PERIPH_B
 
#define PIN_EBI_CDS_ATTRI   PIO_DEFAULT
 
#define PIN_EBI_CDS_MASK   PIO_PC30
 LCD command/data select pin. More...
 
#define PIN_EBI_CDS_PIO   PIOC
 
#define PIN_EBI_CDS_TYPE   PIO_OUTPUT_1
 
#define PIN_EBI_CS_ATTRI   PIO_PULLUP
 
#define PIN_EBI_CS_MASK   PIO_PD19A_NCS3
 LCD CS pin (NCS3) More...
 
#define PIN_EBI_CS_PIO   PIOD
 
#define PIN_EBI_CS_TYPE   PIO_PERIPH_A
 
#define PIN_EBI_DATAH_0_ATTRI   PIO_PULLUP
 
#define PIN_EBI_DATAH_0_MASK   0x3F
 
#define PIN_EBI_DATAH_0_PIO   PIOE
 
#define PIN_EBI_DATAH_0_TYPE   PIO_PERIPH_A
 
#define PIN_EBI_DATAH_1_ATTRI   PIO_PULLUP
 
#define PIN_EBI_DATAH_1_MASK   (PIO_PA15A_D14|PIO_PA16A_D15)
 
#define PIN_EBI_DATAH_1_PIO   PIOA
 
#define PIN_EBI_DATAH_1_TYPE   PIO_PERIPH_A
 
#define PIN_EBI_DATAL_ATTRI   PIO_PULLUP
 
#define PIN_EBI_DATAL_MASK   0xFF
 LCD data pin. More...
 
#define PIN_EBI_DATAL_PIO   PIOC
 
#define PIN_EBI_DATAL_TYPE   PIO_PERIPH_A
 
#define PIN_EBI_NRD_ATTRI   PIO_PULLUP
 
#define PIN_EBI_NRD_MASK   PIO_PC11A_NRD
 LCD RD pin. More...
 
#define PIN_EBI_NRD_PIO   PIOC
 
#define PIN_EBI_NRD_TYPE   PIO_PERIPH_A
 
#define PIN_EBI_NWE_ATTRI   PIO_PULLUP
 
#define PIN_EBI_NWE_MASK   PIO_PC8A_NWE
 LCD WE pin. More...
 
#define PIN_EBI_NWE_PIO   PIOC
 
#define PIN_EBI_NWE_TYPE   PIO_PERIPH_A
 
#define PIN_EBI_RESET_ATTRI   PIO_DEFAULT
 
#define PIN_EBI_RESET_MASK   PIO_PC13
 EBI pins configuration for LCD. More...
 
#define PIN_EBI_RESET_PIO   PIOC
 
#define PIN_EBI_RESET_TYPE   PIO_OUTPUT_1
 
#define PIN_GMAC_INT_MASK   PIO_PA14
 
#define PIN_GMAC_INT_PIO   PIOA
 
#define PIN_GMAC_MASK
 
#define PIN_GMAC_PERIPH   PIO_PERIPH_A
 
#define PIN_GMAC_PIO   PIOD
 
#define PIN_GMAC_RESET_MASK   PIO_PC10
 
#define PIN_GMAC_RESET_PIO   PIOC
 
#define PIN_HSMCI_CD   {PIO_PC16, PIOD, ID_PIOD, PIO_INPUT, PIO_PULLUP}
 SD/MMC card detect pin definition. More...
 
#define PIN_HSMCI_MCCDA_FLAGS   (IOPORT_MODE_MUX_C)
 
#define PIN_HSMCI_MCCDA_GPIO   (PIO_PA28_IDX)
 HSMCI MCCDA pin definition. More...
 
#define PIN_HSMCI_MCCK_FLAGS   (IOPORT_MODE_MUX_D)
 
#define PIN_HSMCI_MCCK_GPIO   (PIO_PA25_IDX)
 HSMCI MCCK pin definition. More...
 
#define PIN_HSMCI_MCDA0_FLAGS   (IOPORT_MODE_MUX_C)
 
#define PIN_HSMCI_MCDA0_GPIO   (PIO_PA30_IDX)
 HSMCI MCDA0 pin definition. More...
 
#define PIN_HSMCI_MCDA1_FLAGS   (IOPORT_MODE_MUX_C)
 
#define PIN_HSMCI_MCDA1_GPIO   (PIO_PA31_IDX)
 HSMCI MCDA1 pin definition. More...
 
#define PIN_HSMCI_MCDA2_FLAGS   (IOPORT_MODE_MUX_C)
 
#define PIN_HSMCI_MCDA2_GPIO   (PIO_PA26_IDX)
 HSMCI MCDA2 pin definition. More...
 
#define PIN_HSMCI_MCDA3_FLAGS   (IOPORT_MODE_MUX_C)
 
#define PIN_HSMCI_MCDA3_GPIO   (PIO_PA27_IDX)
 HSMCI MCDA3 pin definition. More...
 
#define PIN_PCK0   (PIO_PA6_IDX)
 PCK0 pin definition (PA6) More...
 
#define PIN_PCK0_ATTR   PIO_DEFAULT
 
#define PIN_PCK0_FLAGS   (IOPORT_MODE_MUX_B)
 
#define PIN_PCK0_ID   ID_PIOA
 
#define PIN_PCK0_MASK   PIO_PA6B_PCK0
 
#define PIN_PCK0_MUX   (IOPORT_MODE_MUX_B)
 
#define PIN_PCK0_PIO   PIOA
 
#define PIN_PCK0_PORT   IOPORT_PIOA
 
#define PIN_PCK0_TYPE   PIO_PERIPH_B
 
#define PIN_PUSHBUTTON_1
 
#define PIN_PUSHBUTTON_1_ATTR   (PIO_PULLUP | PIO_DEBOUNCE | PIO_IT_RISE_EDGE)
 
#define PIN_PUSHBUTTON_1_ID   ID_PIOA
 
#define PIN_PUSHBUTTON_1_IRQn   PIOA_IRQn
 
#define PIN_PUSHBUTTON_1_MASK   PIO_PA11
 
#define PIN_PUSHBUTTON_1_PIO   PIOA
 
#define PIN_PUSHBUTTON_1_TYPE   PIO_INPUT
 
#define PIN_PWM_LED0_CHANNEL   PWM_CHANNEL_0
 
#define PIN_PWM_LED0_FLAGS   (IOPORT_MODE_MUX_B)
 
#define PIN_PWM_LED0_GPIO   PIO_PA23_IDX
 PWM LED0 pin definitions. More...
 
#define PIN_PWM_LED1_CHANNEL   PWM_CHANNEL_1
 
#define PIN_PWM_LED1_FLAGS   (IOPORT_MODE_MUX_B)
 
#define PIN_PWM_LED1_GPIO   PIO_PA24_IDX
 PWM LED1 pin definitions. More...
 
#define PIN_TC0_TIOA0   (PIO_PA0_IDX)
 
#define PIN_TC0_TIOA0_ATTR   PIO_DEFAULT
 
#define PIN_TC0_TIOA0_FLAGS   (IOPORT_MODE_MUX_B)
 
#define PIN_TC0_TIOA0_ID   ID_PIOA
 
#define PIN_TC0_TIOA0_MASK   PIO_PA0
 
#define PIN_TC0_TIOA0_MUX   (IOPORT_MODE_MUX_B)
 
#define PIN_TC0_TIOA0_PIO   PIOA
 
#define PIN_TC0_TIOA0_TYPE   PIO_PERIPH_B
 
#define PIN_TC3_TIOA11   (PIO_PD21_IDX)
 
#define PIN_TC3_TIOA11_ATTR   PIO_DEFAULT
 
#define PIN_TC3_TIOA11_FLAGS   (IOPORT_MODE_MUX_C)
 
#define PIN_TC3_TIOA11_ID   ID_PIOD
 
#define PIN_TC3_TIOA11_MASK   PIO_PD21
 
#define PIN_TC3_TIOA11_MUX   (IOPORT_MODE_MUX_C)
 
#define PIN_TC3_TIOA11_PIO   PIOD
 
#define PIN_TC3_TIOA11_TYPE   PIO_PERIPH_C
 
#define PIN_USART0_CTS_FLAGS   (IOPORT_MODE_MUX_C)
 
#define PIN_USART0_CTS_IDX   (PIO_PB2_IDX)
 USART0 pin CTS. More...
 
#define PIN_USART0_RTS_FLAGS   (IOPORT_MODE_MUX_C)
 
#define PIN_USART0_RTS_IDX   (PIO_PB3_IDX)
 USART0 pin RTS. More...
 
#define PIN_USART0_SCK_FLAGS   (IOPORT_MODE_MUX_C)
 
#define PIN_USART0_SCK_IDX   (PIO_PB13_IDX)
 
#define PINS_PUSHBUTTONS   {PIN_PUSHBUTTON_1}
 List of all push button definitions. More...
 
#define PUSHBUTTON_1_NAME   "SW0"
 
#define PUSHBUTTON_1_WKUP_FSTT   (PMC_FSMR_FSTT2)
 
#define PUSHBUTTON_1_WKUP_LINE   (2)
 
#define QSPI_QCS_FLAGS   (IOPORT_MODE_MUX_A)
 
#define QSPI_QCS_GPIO   PIO_PA11_IDX
 
#define QSPI_QIO0_FLAGS   (IOPORT_MODE_MUX_A)
 
#define QSPI_QIO0_GPIO   PIO_PA13_IDX
 
#define QSPI_QIO1_FLAGS   (IOPORT_MODE_MUX_A)
 
#define QSPI_QIO1_GPIO   PIO_PA12_IDX
 
#define QSPI_QIO2_FLAGS   (IOPORT_MODE_MUX_A)
 
#define QSPI_QIO2_GPIO   PIO_PA17_IDX
 
#define QSPI_QIO3_FLAGS   (IOPORT_MODE_MUX_A)
 
#define QSPI_QIO3_GPIO   PIO_PD31_IDX
 
#define QSPI_QSCK_FLAGS   (IOPORT_MODE_MUX_A)
 
#define QSPI_QSCK_GPIO   PIO_PA14_IDX
 QSPI pins definition. More...
 
#define same70
 Family definition (already defined) More...
 
#define same70xpld
 Board definition. More...
 
#define SD_MMC_0_CD_DETECT_VALUE   0
 
#define SD_MMC_0_CD_FLAGS   (IOPORT_MODE_PULLUP)
 
#define SD_MMC_0_CD_GPIO   (PIO_PC16_IDX)
 
#define SD_MMC_0_CD_PIO_ID   ID_PIOD
 
#define SD_MMC_HSMCI_MEM_CNT   1
 HSMCI pins definition. More...
 
#define SD_MMC_HSMCI_SLOT_0_SIZE   4
 
#define SDRAM_A10_PIO   PIO_PC28_IDX
 
#define SDRAM_A11_PIO   PIO_PC29_IDX
 
#define SDRAM_A2_PIO   PIO_PC20_IDX
 
#define SDRAM_A3_PIO   PIO_PC21_IDX
 
#define SDRAM_A4_PIO   PIO_PC22_IDX
 
#define SDRAM_A5_PIO   PIO_PC23_IDX
 
#define SDRAM_A6_PIO   PIO_PC24_IDX
 
#define SDRAM_A7_PIO   PIO_PC25_IDX
 
#define SDRAM_A8_PIO   PIO_PC26_IDX
 
#define SDRAM_A9_PIO   PIO_PC27_IDX
 
#define SDRAM_A_FLAGS   PIO_PERIPH_A
 
#define SDRAM_BA0_FLAGS   PIO_PERIPH_C
 
#define SDRAM_BA0_PIO   PIO_PA20_IDX
 SDRAM pins definitions. More...
 
#define SDRAM_CAS_FLAGS   PIO_PERIPH_C
 
#define SDRAM_CAS_PIO   PIO_PD17_IDX
 
#define SDRAM_D0_PIO   PIO_PC0_IDX
 
#define SDRAM_D10_PIO   PIO_PE2_IDX
 
#define SDRAM_D11_PIO   PIO_PE3_IDX
 
#define SDRAM_D12_PIO   PIO_PE4_IDX
 
#define SDRAM_D13_PIO   PIO_PE5_IDX
 
#define SDRAM_D14_PIO   PIO_PA15_IDX
 
#define SDRAM_D15_PIO   PIO_PA16_IDX
 
#define SDRAM_D1_PIO   PIO_PC1_IDX
 
#define SDRAM_D2_PIO   PIO_PC2_IDX
 
#define SDRAM_D3_PIO   PIO_PC3_IDX
 
#define SDRAM_D4_PIO   PIO_PC4_IDX
 
#define SDRAM_D5_PIO   PIO_PC5_IDX
 
#define SDRAM_D6_PIO   PIO_PC6_IDX
 
#define SDRAM_D7_PIO   PIO_PC7_IDX
 
#define SDRAM_D8_PIO   PIO_PE0_IDX
 
#define SDRAM_D9_PIO   PIO_PE1_IDX
 
#define SDRAM_D_FLAGS   PIO_PERIPH_A
 
#define SDRAM_NBS0_FLAGS   PIO_PERIPH_A
 
#define SDRAM_NBS0_PIO   PIO_PC18_IDX
 
#define SDRAM_NBS1_FLAGS   PIO_PERIPH_C
 
#define SDRAM_NBS1_PIO   PIO_PD15_IDX
 
#define SDRAM_RAS_FLAGS   PIO_PERIPH_C
 
#define SDRAM_RAS_PIO   PIO_PD16_IDX
 
#define SDRAM_SDA10_FLAGS   PIO_PERIPH_C
 
#define SDRAM_SDA10_PIO   PIO_PD13_IDX
 
#define SDRAM_SDCK_FLAGS   PIO_PERIPH_C
 
#define SDRAM_SDCK_PIO   PIO_PD23_IDX
 
#define SDRAM_SDCKE_FLAGS   PIO_PERIPH_C
 
#define SDRAM_SDCKE_PIO   PIO_PD14_IDX
 
#define SDRAM_SDCS_FLAGS   PIO_PERIPH_A
 
#define SDRAM_SDCS_PIO   PIO_PC15_IDX
 
#define SDRAM_SDWE_FLAGS   PIO_PERIPH_C
 
#define SDRAM_SDWE_PIO   PIO_PD29_IDX
 
#define SPI0_MISO_FLAGS   (IOPORT_MODE_MUX_B)
 
#define SPI0_MISO_GPIO   PIO_PD20_IDX
 SPI0 pins definition. More...
 
#define SPI0_MOSI_FLAGS   (IOPORT_MODE_MUX_B)
 
#define SPI0_MOSI_GPIO   PIO_PD21_IDX
 
#define SPI0_NPCS0_FLAGS   (IOPORT_MODE_MUX_D)
 
#define SPI0_NPCS0_GPIO   PIO_PB2_IDX
 
#define SPI0_NPCS1_FLAGS   (IOPORT_MODE_MUX_B)
 
#define SPI0_NPCS1_GPIO   PIO_PD25_IDX
 
#define SPI0_NPCS2_FLAGS   (IOPORT_MODE_MUX_C)
 
#define SPI0_NPCS2_GPIO   PIO_PD12_IDX
 
#define SPI0_NPCS3_FLAGS   (IOPORT_MODE_MUX_B)
 
#define SPI0_NPCS3_GPIO   PIO_PD27_IDX
 
#define SPI0_SPCK_FLAGS   (IOPORT_MODE_MUX_B)
 
#define SPI0_SPCK_GPIO   PIO_PD22_IDX
 
#define TWIHS0_CLK_FLAGS   (IOPORT_MODE_MUX_A)
 
#define TWIHS0_CLK_GPIO   PIO_PA4_IDX
 
#define TWIHS0_DATA_FLAGS   (IOPORT_MODE_MUX_A)
 
#define TWIHS0_DATA_GPIO   PIO_PA3_IDX
 TWI0 pins definition. More...
 
#define USART0_RXD_FLAGS   IOPORT_MODE_MUX_C
 
#define USART0_RXD_GPIO   PIO_PB0_IDX
 USART0 pins definitions, PB0,PB1. More...
 
#define USART0_TXD_FLAGS   IOPORT_MODE_MUX_C
 
#define USART0_TXD_GPIO   PIO_PB1_IDX
 
#define USART1_RXD_FLAGS   IOPORT_MODE_MUX_A
 
#define USART1_RXD_GPIO   PIO_PA21_IDX
 USART1 pins definitions, PA21,PB4. More...
 
#define USART1_TXD_FLAGS   IOPORT_MODE_MUX_D
 
#define USART1_TXD_GPIO   PIO_PB4_IDX
 
#define WM8904_PCK2_FLAGS   PIO_PERIPH_B
 
#define WM8904_PCK2_PIO   PIO_PA18_IDX
 
#define WM8904_RD_FLAGS   PIO_PERIPH_C
 
#define WM8904_RD_PIO   PIO_PA10_IDX
 
#define WM8904_RF_FLAGS   PIO_PERIPH_B
 
#define WM8904_RF_PIO   PIO_PD24_IDX
 
#define WM8904_RK_FLAGS   PIO_PERIPH_A
 
#define WM8904_RK_PIO   PIO_PA22_IDX
 
#define WM8904_SLAVE_ADDRESS   (0x34 >> 1)
 WM8904 Slave address. More...
 
#define WM8904_TD_FLAGS   PIO_PERIPH_B
 
#define WM8904_TD_PIO   PIO_PD26_IDX
 
#define WM8904_TF_FLAGS   PIO_PERIPH_D
 
#define WM8904_TF_PIO   PIO_PB0_IDX
 
#define WM8904_TK_FLAGS   PIO_PERIPH_D
 
#define WM8904_TK_PIO   PIO_PB1_IDX
 WM8904 pins definition. More...
 
#define WM8904_TWIHS   TWIHS0
 TWI interface for WM8904. More...
 
LED definitions
#define LED0_GPIO   (PIO_PC8_IDX)
 
#define LED0_FLAGS   (0)
 
#define LED0_ACTIVE_LEVEL   (IOPORT_PIN_LEVEL_LOW)
 
#define LED0_INACTIVE_LEVEL   (IOPORT_PIN_LEVEL_HIGH)
 
#define LED_COUNT   (1)
 
SW0 definitions
#define SW0_PIN   (PIO_PA11_IDX)
 
#define SW0_ACTIVE   (IOPORT_PIN_LEVEL_LOW)
 
#define SW0_INACTIVE   (!SW0_ACTIVE)
 
#define SW0_SUPC_INPUT   2
 
#define PIN_SW0   {PIO_PA11, PIOA, ID_PIOA, PIO_INPUT, PIO_PULLUP | PIO_DEBOUNCE | PIO_IT_RISE_EDGE}
 Wrapper macros for SW0, to ensure common naming across all Xplained boards. More...
 
#define PIN_SW0_MASK   PIO_PA11
 
#define PIN_SW0_PIO   PIOA
 
#define PIN_SW0_ID   ID_PIOA
 
#define PIN_SW0_TYPE   PIO_INPUT
 
#define PIN_SW0_ATTR   (PIO_PULLUP | PIO_DEBOUNCE | PIO_IT_RISE_EDGE)
 
LED #0 definitions

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

#define LED_0_NAME   "LED0 (yellow)"
 
#define LED_0_PIN   LED0_GPIO
 
#define LED_0_ACTIVE   LED0_ACTIVE_LEVEL
 
#define LED_0_INACTIVE   LED0_INACTIVE_LEVEL
 
#define PIN_LED_0   {PIO_PC8, PIOC, ID_PIOC, PIO_OUTPUT_1, PIO_DEFAULT}
 
#define PIN_LED_0_MASK   PIO_PC8
 
#define PIN_LED_0_PIO   PIOC
 
#define PIN_LED_0_ID   ID_PIOC
 
#define PIN_LED_0_TYPE   PIO_OUTPUT_1
 
#define PIN_LED_0_ATTR   PIO_DEFAULT
 
Extension header #1 pin definitions
#define EXT1_PIN_3   PIO_PC31_IDX
 
#define EXT1_PIN_4   PIO_PA19_IDX
 
#define EXT1_PIN_5   PIO_PB3_IDX
 
#define EXT1_PIN_6   PIO_PB2_IDX
 
#define EXT1_PIN_7   PIO_PA0_IDX
 
#define EXT1_PIN_8   PIO_PC30_IDX
 
#define EXT1_PIN_9   PIO_PD28_IDX
 
#define EXT1_PIN_10   PIO_PC17_IDX
 
#define EXT1_PIN_11   PIO_PA3_IDX
 
#define EXT1_PIN_12   PIO_PA4_IDX
 
#define EXT1_PIN_13   PIO_PB0_IDX
 
#define EXT1_PIN_14   PIO_PB1_IDX
 
#define EXT1_PIN_15   PIO_PD25_IDX
 
#define EXT1_PIN_16   PIO_PD21_IDX
 
#define EXT1_PIN_17   PIO_PD20_IDX
 
#define EXT1_PIN_18   PIO_PD22_IDX
 
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_TWI_SDA   EXT1_PIN_11
 
#define EXT1_PIN_TWI_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 #2 pin definitions
#define EXT2_PIN_3   PIO_PD30_IDX
 
#define EXT2_PIN_4   PIO_PC13_IDX
 
#define EXT2_PIN_5   PIO_PA6_IDX
 
#define EXT2_PIN_6   PIO_PD11_IDX
 
#define EXT2_PIN_7   PIO_PC19_IDX
 
#define EXT2_PIN_8   PIO_PD26_IDX
 
#define EXT2_PIN_9   PIO_PA2_IDX
 
#define EXT2_PIN_10   PIO_PA24_IDX
 
#define EXT2_PIN_11   PIO_PA3_IDX
 
#define EXT2_PIN_12   PIO_PA4_IDX
 
#define EXT2_PIN_13   PIO_PA21_IDX
 
#define EXT2_PIN_14   PIO_PB4_IDX
 
#define EXT2_PIN_15   PIO_PD27_IDX
 
#define EXT2_PIN_16   PIO_PD21_IDX
 
#define EXT2_PIN_17   PIO_PD20_IDX
 
#define EXT2_PIN_18   PIO_PD22_IDX
 
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_TWI_SDA   EXT2_PIN_11
 
#define EXT2_PIN_TWI_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
 
GPIO Connections of VBUS monitoring
#define USB_VBUS_FLAGS   (PIO_INPUT | PIO_PULLUP)
 
#define USB_VBUS_PIN   PIO_PC9_IDX /* As IO pin input */
 
#define USB_VBUS_PIN_IRQn   ( PIOC_IRQn)
 
#define USB_VBUS_PIO_ID   ID_PIOC
 
#define USB_VBUS_PIO_MASK   PIO_PC9
 
GPIO Connections of ID detecting
#define USB_ID_FLAGS   (PIO_INPUT | PIO_PULLUP)
 
#define USB_ID_PIN   PIO_PC16_IDX /* As IO pin input */
 
#define USB_ID_PIN_IRQn   (PIOC_IRQn)
 
#define USB_ID_PIO_ID   ID_PIOC
 
#define USB_ID_PIO_MASK   PIO_PC16
 

#define AFEC_CHANNEL_POTENTIOMETER   AFEC_CHANNEL_0

AFEC channel for potentiometer.

#define BOARD_AT24MAC_ADDRESS   (0xAE >> 1)
#define BOARD_AT24MAC_PAGE_SIZE   16
#define BOARD_AT24MAC_TWIHS   TWIHS0

Board configuration of the AT24MAC EEPROM.

#define BOARD_AT24MAC_TWIHS_CLK   (400000UL)
#define BOARD_AT24MAC_TWIHS_INSTANCE   TWIHS0
#define BOARD_AT30TSE_ID_TWIHS   ID_TWIHS0

TWIHS ID for simulated EEPROM application to use.

#define BOARD_AT30TSE_TWIHS   TWIHS0

TWIHS Base for simulated TWI EEPROM application to use.

#define BOARD_BNO055_ID_TWIHS   ID_TWIHS0
#define BOARD_BNO055_TWIHS   TWIHS0
#define BOARD_CLK_TWIHS_EEPROM   PIO_PA4
#define BOARD_FREQ_MAINCK_BYPASS   (12000000U)

Referenced by osc_get_rate().

#define BOARD_FREQ_MAINCK_XTAL   (12000000U)

Referenced by osc_get_rate().

#define BOARD_FREQ_SLCK_BYPASS   (32768U)

Referenced by osc_get_rate().

#define BOARD_FREQ_SLCK_XTAL   (32768U)

Board oscillator settings.

Referenced by osc_get_rate().

#define BOARD_GMAC_PHY_ADDR   0

GMAC HW configurations.

#define BOARD_ILI9488_SPI   SPI0

LCD SPI configuration.

#define BOARD_ILI9488_SPI_IRQN   SPI0_IRQn
#define BOARD_ILI9488_SPI_NPCS   3
#define BOARD_MCK   CHIP_FREQ_CPU_MAX

Master clock frequency.

#define BOARD_NAME   "SAME70-XPLD"

Name of the board.

#define BOARD_NUM_OF_LED   1

Number of on-board LEDs.

#define BOARD_OSC_STARTUP_US   15625

board main clock xtal statup time

Referenced by osc_enable().

#define BOARD_SDRAM_ADDR   0x70000000

Address for transferring command bytes to the SDRAM.

#define BOARD_SDRAM_SIZE   (2 * 1024 * 1024)

Board SDRAM size for MT48LC16M16A2.

#define BUTTON_0_ACTIVE   SW0_ACTIVE
#define BUTTON_0_INACTIVE   SW0_INACTIVE
#define BUTTON_0_NAME   "SW0"

Push button #0 definition.

Attributes = pull-up + debounce + interrupt on rising edge.

#define BUTTON_0_PIN   SW0_PIN
#define BUTTON_0_SUPC_INPUT   SW0_SUPC_INPUT
#define CONSOLE_UART   USART1
#define CONSOLE_UART_ID   ID_USART1

Referenced by configure_console().

#define cortexm7

Core definition.

#define EXT1_PIN_10   PIO_PC17_IDX
#define EXT1_PIN_11   PIO_PA3_IDX
#define EXT1_PIN_12   PIO_PA4_IDX
#define EXT1_PIN_13   PIO_PB0_IDX
#define EXT1_PIN_14   PIO_PB1_IDX
#define EXT1_PIN_15   PIO_PD25_IDX
#define EXT1_PIN_16   PIO_PD21_IDX
#define EXT1_PIN_17   PIO_PD20_IDX
#define EXT1_PIN_18   PIO_PD22_IDX
#define EXT1_PIN_3   PIO_PC31_IDX
#define EXT1_PIN_4   PIO_PA19_IDX
#define EXT1_PIN_5   PIO_PB3_IDX
#define EXT1_PIN_6   PIO_PB2_IDX
#define EXT1_PIN_7   PIO_PA0_IDX
#define EXT1_PIN_8   PIO_PC30_IDX
#define EXT1_PIN_9   PIO_PD28_IDX
#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_IRQ   EXT1_PIN_9
#define EXT1_PIN_PWM_0   EXT1_PIN_7
#define EXT1_PIN_PWM_1   EXT1_PIN_8
#define EXT1_PIN_SPI_MISO   EXT1_PIN_17
#define EXT1_PIN_SPI_MOSI   EXT1_PIN_16
#define EXT1_PIN_SPI_SCK   EXT1_PIN_18
#define EXT1_PIN_SPI_SS_0   EXT1_PIN_15
#define EXT1_PIN_SPI_SS_1   EXT1_PIN_10
#define EXT1_PIN_TWI_SCL   EXT1_PIN_12
#define EXT1_PIN_TWI_SDA   EXT1_PIN_11
#define EXT1_PIN_UART_RX   EXT1_PIN_13
#define EXT1_PIN_UART_TX   EXT1_PIN_14
#define EXT2_PIN_10   PIO_PA24_IDX
#define EXT2_PIN_11   PIO_PA3_IDX
#define EXT2_PIN_12   PIO_PA4_IDX
#define EXT2_PIN_13   PIO_PA21_IDX
#define EXT2_PIN_14   PIO_PB4_IDX
#define EXT2_PIN_15   PIO_PD27_IDX
#define EXT2_PIN_16   PIO_PD21_IDX
#define EXT2_PIN_17   PIO_PD20_IDX
#define EXT2_PIN_18   PIO_PD22_IDX
#define EXT2_PIN_3   PIO_PD30_IDX
#define EXT2_PIN_4   PIO_PC13_IDX
#define EXT2_PIN_5   PIO_PA6_IDX
#define EXT2_PIN_6   PIO_PD11_IDX
#define EXT2_PIN_7   PIO_PC19_IDX
#define EXT2_PIN_8   PIO_PD26_IDX
#define EXT2_PIN_9   PIO_PA2_IDX
#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_IRQ   EXT2_PIN_9
#define EXT2_PIN_PWM_0   EXT2_PIN_7
#define EXT2_PIN_PWM_1   EXT2_PIN_8
#define EXT2_PIN_SPI_MISO   EXT2_PIN_17
#define EXT2_PIN_SPI_MOSI   EXT2_PIN_16
#define EXT2_PIN_SPI_SCK   EXT2_PIN_18
#define EXT2_PIN_SPI_SS_0   EXT2_PIN_15
#define EXT2_PIN_SPI_SS_1   EXT2_PIN_10
#define EXT2_PIN_TWI_SCL   EXT2_PIN_12
#define EXT2_PIN_TWI_SDA   EXT2_PIN_11
#define EXT2_PIN_UART_RX   EXT2_PIN_13
#define EXT2_PIN_UART_TX   EXT2_PIN_14
#define GPIO_PUSH_BUTTON_0   BUTTON_0_PIN
#define GPIO_PUSH_BUTTON_1   (PIO_PA11_IDX)

Referenced by board_init().

#define GPIO_PUSH_BUTTON_1_FLAGS   (IOPORT_MODE_PULLUP | IOPORT_MODE_DEBOUNCE)

Referenced by board_init().

#define GPIO_PUSH_BUTTON_1_SENSE   (IOPORT_SENSE_RISING)

Referenced by board_init().

#define LCD_SPI_BACKLIGHT_FLAGS   (PIO_OUTPUT_1 | PIO_DEFAULT)

Referenced by board_init().

#define LCD_SPI_BACKLIGHT_PIO   PIO_PC19_IDX

Referenced by board_init().

#define LCD_SPI_CDS_FLAGS   (PIO_OUTPUT_1 | PIO_DEFAULT)

Referenced by board_init().

#define LCD_SPI_CDS_PIO   PIO_PA6_IDX

Referenced by board_init().

#define LCD_SPI_MISO_FLAGS   (PIO_PERIPH_B | PIO_DEFAULT)

Referenced by board_init().

#define LCD_SPI_MISO_PIO   PIO_PD20_IDX

LCD SPI pins definition.

Referenced by board_init().

#define LCD_SPI_MOSI_FLAGS   (PIO_PERIPH_B | PIO_DEFAULT)

Referenced by board_init().

#define LCD_SPI_MOSI_PIO   PIO_PD21_IDX

Referenced by board_init().

#define LCD_SPI_NPCS_FLAGS   (PIO_PERIPH_B | PIO_DEFAULT)

Referenced by board_init().

#define LCD_SPI_NPCS_PIO   PIO_PD27_IDX

Referenced by board_init().

#define LCD_SPI_RESET_FLAGS   (PIO_OUTPUT_1 | PIO_DEFAULT)

Referenced by board_init().

#define LCD_SPI_RESET_PIO   PIO_PA24_IDX

Referenced by board_init().

#define LCD_SPI_SPCK_FLAGS   (PIO_PERIPH_B | PIO_DEFAULT)

Referenced by board_init().

#define LCD_SPI_SPCK_PIO   PIO_PD22_IDX

Referenced by board_init().

#define LED0_ACTIVE_LEVEL   (IOPORT_PIN_LEVEL_LOW)
#define LED0_FLAGS   (0)
#define LED0_GPIO   (PIO_PC8_IDX)

Referenced by board_init().

#define LED0_INACTIVE_LEVEL   (IOPORT_PIN_LEVEL_HIGH)

Referenced by board_init().

#define LED_0_ACTIVE   LED0_ACTIVE_LEVEL
#define LED_0_INACTIVE   LED0_INACTIVE_LEVEL
#define LED_0_NAME   "LED0 (yellow)"
#define LED_0_PIN   LED0_GPIO
#define LED_COUNT   (1)
#define MAXTOUCH_XPRO_CHG_PIO   PIO_PA2_IDX
#define MAXTOUCH_XPRO_TWIHS   TWIHS0

TWI interface for maXTouch XPRO.

#define MCAN_MODULE   MCAN1
#define PIN_BNO055_EXT_INIERRUPT
Value:
{PIO_PD28, PIOD, ID_PIOD, PIO_INPUT, \
#define PIO_IT_RISE_EDGE
Definition: pio.h:110
#define PIO_DEFAULT
Definition: pio.h:84
Definition: pio.h:78

BNO055 external interrupt pin definition.

#define PIN_BNO055_EXT_INIERRUPT_ATTR   (PIO_DEFAULT | PIO_IT_RISE_EDGE)
#define PIN_BNO055_EXT_INIERRUPT_ID   ID_PIOD
#define PIN_BNO055_EXT_INIERRUPT_IRQn   PIOD_IRQn
#define PIN_BNO055_EXT_INIERRUPT_MASK   PIO_PD28
#define PIN_BNO055_EXT_INIERRUPT_PIO   PIOD
#define PIN_BNO055_EXT_INIERRUPT_TYPE   PIO_INPUT
#define PIN_CAN0_RX_FLAGS   IOPORT_MODE_MUX_A

Referenced by board_init().

#define PIN_CAN0_RX_IDX   PIO_PB3_IDX

CAN0 PIN RX.

Referenced by board_init().

#define PIN_CAN0_TR_EN_FLAGS   IOPORT_DIR_OUTPUT
#define PIN_CAN0_TR_EN_IDX   PIO_PE1_IDX

CAN0 transceiver PIN EN.

Referenced by board_init().

#define PIN_CAN0_TR_RS_FLAGS   IOPORT_DIR_OUTPUT
#define PIN_CAN0_TR_RS_IDX   PIO_PE0_IDX

CAN0 transceiver PIN RS.

Referenced by board_init().

#define PIN_CAN0_TX_FLAGS   IOPORT_MODE_MUX_A

Referenced by board_init().

#define PIN_CAN0_TX_IDX   PIO_PB2_IDX

CAN0 PIN TX.

Referenced by board_init().

#define PIN_CAN1_RX_FLAGS   IOPORT_MODE_MUX_C

Referenced by board_init().

#define PIN_CAN1_RX_IDX   PIO_PC12_IDX

CAN1 PIN RX.

Referenced by board_init().

#define PIN_CAN1_TR_EN_FLAGS   IOPORT_DIR_OUTPUT
#define PIN_CAN1_TR_EN_IDX   PIO_PE3_IDX

CAN1 transceiver PIN EN.

#define PIN_CAN1_TR_RS_FLAGS   IOPORT_DIR_OUTPUT
#define PIN_CAN1_TR_RS_IDX   PIO_PE2_IDX

CAN1 transceiver PIN RS.

#define PIN_CAN1_TX_FLAGS   IOPORT_MODE_MUX_C

Referenced by board_init().

#define PIN_CAN1_TX_IDX   PIO_PC14_IDX

CAN1 PIN TX.

Referenced by board_init().

#define PIN_EBI_BACKLIGHT_ATTRI   PIO_DEFAULT

Referenced by board_init().

#define PIN_EBI_BACKLIGHT_MASK   PIO_PC9B_TIOB7

Back-light pin definition.

Referenced by board_init().

#define PIN_EBI_BACKLIGHT_PIO   PIOC

Referenced by board_init().

#define PIN_EBI_BACKLIGHT_TYPE   PIO_PERIPH_B

Referenced by board_init().

#define PIN_EBI_CDS_ATTRI   PIO_DEFAULT

Referenced by board_init().

#define PIN_EBI_CDS_MASK   PIO_PC30

LCD command/data select pin.

Referenced by board_init().

#define PIN_EBI_CDS_PIO   PIOC

Referenced by board_init().

#define PIN_EBI_CDS_TYPE   PIO_OUTPUT_1

Referenced by board_init().

#define PIN_EBI_CS_ATTRI   PIO_PULLUP

Referenced by board_init().

#define PIN_EBI_CS_MASK   PIO_PD19A_NCS3

LCD CS pin (NCS3)

Referenced by board_init().

#define PIN_EBI_CS_PIO   PIOD

Referenced by board_init().

#define PIN_EBI_CS_TYPE   PIO_PERIPH_A

Referenced by board_init().

#define PIN_EBI_DATAH_0_ATTRI   PIO_PULLUP

Referenced by board_init().

#define PIN_EBI_DATAH_0_MASK   0x3F

Referenced by board_init().

#define PIN_EBI_DATAH_0_PIO   PIOE

Referenced by board_init().

#define PIN_EBI_DATAH_0_TYPE   PIO_PERIPH_A

Referenced by board_init().

#define PIN_EBI_DATAH_1_ATTRI   PIO_PULLUP

Referenced by board_init().

#define PIN_EBI_DATAH_1_MASK   (PIO_PA15A_D14|PIO_PA16A_D15)

Referenced by board_init().

#define PIN_EBI_DATAH_1_PIO   PIOA

Referenced by board_init().

#define PIN_EBI_DATAH_1_TYPE   PIO_PERIPH_A

Referenced by board_init().

#define PIN_EBI_DATAL_ATTRI   PIO_PULLUP

Referenced by board_init().

#define PIN_EBI_DATAL_MASK   0xFF

LCD data pin.

Referenced by board_init().

#define PIN_EBI_DATAL_PIO   PIOC

Referenced by board_init().

#define PIN_EBI_DATAL_TYPE   PIO_PERIPH_A

Referenced by board_init().

#define PIN_EBI_NRD_ATTRI   PIO_PULLUP

Referenced by board_init().

#define PIN_EBI_NRD_MASK   PIO_PC11A_NRD

LCD RD pin.

Referenced by board_init().

#define PIN_EBI_NRD_PIO   PIOC

Referenced by board_init().

#define PIN_EBI_NRD_TYPE   PIO_PERIPH_A

Referenced by board_init().

#define PIN_EBI_NWE_ATTRI   PIO_PULLUP

Referenced by board_init().

#define PIN_EBI_NWE_MASK   PIO_PC8A_NWE

LCD WE pin.

Referenced by board_init().

#define PIN_EBI_NWE_PIO   PIOC

Referenced by board_init().

#define PIN_EBI_NWE_TYPE   PIO_PERIPH_A

Referenced by board_init().

#define PIN_EBI_RESET_ATTRI   PIO_DEFAULT

Referenced by board_init().

#define PIN_EBI_RESET_MASK   PIO_PC13

EBI pins configuration for LCD.

LCD reset pin

Referenced by board_init().

#define PIN_EBI_RESET_PIO   PIOC

Referenced by board_init().

#define PIN_EBI_RESET_TYPE   PIO_OUTPUT_1

Referenced by board_init().

#define PIN_GMAC_INT_MASK   PIO_PA14
#define PIN_GMAC_INT_PIO   PIOA
#define PIN_GMAC_MASK
Value:
(PIO_PD0A_GTXCK | PIO_PD1A_GTXEN | PIO_PD2A_GTX0 | \
PIO_PD3A_GTX1 | PIO_PD4A_GRXDV | PIO_PD5A_GRX0 | \
PIO_PD6A_GRX1 | PIO_PD7A_GRXER | PIO_PD8A_GMDC | \
PIO_PD9A_GMDIO)
#define PIN_GMAC_PERIPH   PIO_PERIPH_A
#define PIN_GMAC_PIO   PIOD
#define PIN_GMAC_RESET_MASK   PIO_PC10
#define PIN_GMAC_RESET_PIO   PIOC
#define PIN_HSMCI_CD   {PIO_PC16, PIOD, ID_PIOD, PIO_INPUT, PIO_PULLUP}

SD/MMC card detect pin definition.

#define PIN_HSMCI_MCCDA_FLAGS   (IOPORT_MODE_MUX_C)

Referenced by board_init().

#define PIN_HSMCI_MCCDA_GPIO   (PIO_PA28_IDX)

HSMCI MCCDA pin definition.

Referenced by board_init().

#define PIN_HSMCI_MCCK_FLAGS   (IOPORT_MODE_MUX_D)

Referenced by board_init().

#define PIN_HSMCI_MCCK_GPIO   (PIO_PA25_IDX)

HSMCI MCCK pin definition.

Referenced by board_init().

#define PIN_HSMCI_MCDA0_FLAGS   (IOPORT_MODE_MUX_C)

Referenced by board_init().

#define PIN_HSMCI_MCDA0_GPIO   (PIO_PA30_IDX)

HSMCI MCDA0 pin definition.

Referenced by board_init().

#define PIN_HSMCI_MCDA1_FLAGS   (IOPORT_MODE_MUX_C)

Referenced by board_init().

#define PIN_HSMCI_MCDA1_GPIO   (PIO_PA31_IDX)

HSMCI MCDA1 pin definition.

Referenced by board_init().

#define PIN_HSMCI_MCDA2_FLAGS   (IOPORT_MODE_MUX_C)

Referenced by board_init().

#define PIN_HSMCI_MCDA2_GPIO   (PIO_PA26_IDX)

HSMCI MCDA2 pin definition.

Referenced by board_init().

#define PIN_HSMCI_MCDA3_FLAGS   (IOPORT_MODE_MUX_C)

Referenced by board_init().

#define PIN_HSMCI_MCDA3_GPIO   (PIO_PA27_IDX)

HSMCI MCDA3 pin definition.

Referenced by board_init().

#define PIN_LED_0   {PIO_PC8, PIOC, ID_PIOC, PIO_OUTPUT_1, PIO_DEFAULT}
#define PIN_LED_0_ATTR   PIO_DEFAULT
#define PIN_LED_0_ID   ID_PIOC
#define PIN_LED_0_MASK   PIO_PC8
#define PIN_LED_0_PIO   PIOC
#define PIN_LED_0_TYPE   PIO_OUTPUT_1
#define PIN_PCK0   (PIO_PA6_IDX)

PCK0 pin definition (PA6)

#define PIN_PCK0_ATTR   PIO_DEFAULT
#define PIN_PCK0_FLAGS   (IOPORT_MODE_MUX_B)
#define PIN_PCK0_ID   ID_PIOA
#define PIN_PCK0_MASK   PIO_PA6B_PCK0
#define PIN_PCK0_MUX   (IOPORT_MODE_MUX_B)
#define PIN_PCK0_PIO   PIOA
#define PIN_PCK0_PORT   IOPORT_PIOA
#define PIN_PCK0_TYPE   PIO_PERIPH_B
#define PIN_PUSHBUTTON_1
Value:
{PIO_PA11, PIOA, ID_PIOA, PIO_INPUT, \
#define PIO_PULLUP
Definition: pio.h:86
#define PIO_IT_RISE_EDGE
Definition: pio.h:110
#define PIO_DEBOUNCE
Definition: pio.h:93
Definition: pio.h:78
#define PIN_PUSHBUTTON_1_ATTR   (PIO_PULLUP | PIO_DEBOUNCE | PIO_IT_RISE_EDGE)
#define PIN_PUSHBUTTON_1_ID   ID_PIOA
#define PIN_PUSHBUTTON_1_IRQn   PIOA_IRQn
#define PIN_PUSHBUTTON_1_MASK   PIO_PA11
#define PIN_PUSHBUTTON_1_PIO   PIOA
#define PIN_PUSHBUTTON_1_TYPE   PIO_INPUT
#define PIN_PWM_LED0_CHANNEL   PWM_CHANNEL_0

Referenced by main(), and PWM0_Handler().

#define PIN_PWM_LED0_FLAGS   (IOPORT_MODE_MUX_B)

Referenced by board_init().

#define PIN_PWM_LED0_GPIO   PIO_PA23_IDX

PWM LED0 pin definitions.

Referenced by board_init().

#define PIN_PWM_LED1_CHANNEL   PWM_CHANNEL_1

Referenced by main(), and PWM0_Handler().

#define PIN_PWM_LED1_FLAGS   (IOPORT_MODE_MUX_B)

Referenced by board_init().

#define PIN_PWM_LED1_GPIO   PIO_PA24_IDX

PWM LED1 pin definitions.

Referenced by board_init().

#define PIN_SW0   {PIO_PA11, PIOA, ID_PIOA, PIO_INPUT, PIO_PULLUP | PIO_DEBOUNCE | PIO_IT_RISE_EDGE}

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

#define PIN_SW0_ATTR   (PIO_PULLUP | PIO_DEBOUNCE | PIO_IT_RISE_EDGE)
#define PIN_SW0_ID   ID_PIOA
#define PIN_SW0_MASK   PIO_PA11
#define PIN_SW0_PIO   PIOA
#define PIN_SW0_TYPE   PIO_INPUT
#define PIN_TC0_TIOA0   (PIO_PA0_IDX)
#define PIN_TC0_TIOA0_ATTR   PIO_DEFAULT
#define PIN_TC0_TIOA0_FLAGS   (IOPORT_MODE_MUX_B)
#define PIN_TC0_TIOA0_ID   ID_PIOA
#define PIN_TC0_TIOA0_MASK   PIO_PA0
#define PIN_TC0_TIOA0_MUX   (IOPORT_MODE_MUX_B)
#define PIN_TC0_TIOA0_PIO   PIOA
#define PIN_TC0_TIOA0_TYPE   PIO_PERIPH_B
#define PIN_TC3_TIOA11   (PIO_PD21_IDX)
#define PIN_TC3_TIOA11_ATTR   PIO_DEFAULT
#define PIN_TC3_TIOA11_FLAGS   (IOPORT_MODE_MUX_C)
#define PIN_TC3_TIOA11_ID   ID_PIOD
#define PIN_TC3_TIOA11_MASK   PIO_PD21
#define PIN_TC3_TIOA11_MUX   (IOPORT_MODE_MUX_C)
#define PIN_TC3_TIOA11_PIO   PIOD
#define PIN_TC3_TIOA11_TYPE   PIO_PERIPH_C
#define PIN_USART0_CTS_FLAGS   (IOPORT_MODE_MUX_C)

Referenced by board_init().

#define PIN_USART0_CTS_IDX   (PIO_PB2_IDX)

USART0 pin CTS.

Referenced by board_init().

#define PIN_USART0_RTS_FLAGS   (IOPORT_MODE_MUX_C)

Referenced by board_init().

#define PIN_USART0_RTS_IDX   (PIO_PB3_IDX)

USART0 pin RTS.

Referenced by board_init().

#define PIN_USART0_SCK_FLAGS   (IOPORT_MODE_MUX_C)

Referenced by board_init().

#define PIN_USART0_SCK_IDX   (PIO_PB13_IDX)

Referenced by board_init().

#define PINS_PUSHBUTTONS   {PIN_PUSHBUTTON_1}

List of all push button definitions.

#define PUSHBUTTON_1_NAME   "SW0"
#define PUSHBUTTON_1_WKUP_FSTT   (PMC_FSMR_FSTT2)
#define PUSHBUTTON_1_WKUP_LINE   (2)
#define QSPI_QCS_FLAGS   (IOPORT_MODE_MUX_A)

Referenced by board_init().

#define QSPI_QCS_GPIO   PIO_PA11_IDX

Referenced by board_init().

#define QSPI_QIO0_FLAGS   (IOPORT_MODE_MUX_A)

Referenced by board_init().

#define QSPI_QIO0_GPIO   PIO_PA13_IDX

Referenced by board_init().

#define QSPI_QIO1_FLAGS   (IOPORT_MODE_MUX_A)

Referenced by board_init().

#define QSPI_QIO1_GPIO   PIO_PA12_IDX

Referenced by board_init().

#define QSPI_QIO2_FLAGS   (IOPORT_MODE_MUX_A)

Referenced by board_init().

#define QSPI_QIO2_GPIO   PIO_PA17_IDX

Referenced by board_init().

#define QSPI_QIO3_FLAGS   (IOPORT_MODE_MUX_A)

Referenced by board_init().

#define QSPI_QIO3_GPIO   PIO_PD31_IDX

Referenced by board_init().

#define QSPI_QSCK_FLAGS   (IOPORT_MODE_MUX_A)

Referenced by board_init().

#define QSPI_QSCK_GPIO   PIO_PA14_IDX

QSPI pins definition.

Referenced by board_init().

#define same70

Family definition (already defined)

#define same70xpld

Board definition.

#define SD_MMC_0_CD_DETECT_VALUE   0
#define SD_MMC_0_CD_FLAGS   (IOPORT_MODE_PULLUP)

Referenced by board_init().

#define SD_MMC_0_CD_GPIO   (PIO_PC16_IDX)

Referenced by board_init().

#define SD_MMC_0_CD_PIO_ID   ID_PIOD
#define SD_MMC_HSMCI_MEM_CNT   1

HSMCI pins definition.

Number of slot connected on HSMCI interface

#define SD_MMC_HSMCI_SLOT_0_SIZE   4
#define SDRAM_A10_PIO   PIO_PC28_IDX

Referenced by board_init().

#define SDRAM_A11_PIO   PIO_PC29_IDX

Referenced by board_init().

#define SDRAM_A2_PIO   PIO_PC20_IDX

Referenced by board_init().

#define SDRAM_A3_PIO   PIO_PC21_IDX

Referenced by board_init().

#define SDRAM_A4_PIO   PIO_PC22_IDX

Referenced by board_init().

#define SDRAM_A5_PIO   PIO_PC23_IDX

Referenced by board_init().

#define SDRAM_A6_PIO   PIO_PC24_IDX

Referenced by board_init().

#define SDRAM_A7_PIO   PIO_PC25_IDX

Referenced by board_init().

#define SDRAM_A8_PIO   PIO_PC26_IDX

Referenced by board_init().

#define SDRAM_A9_PIO   PIO_PC27_IDX

Referenced by board_init().

#define SDRAM_A_FLAGS   PIO_PERIPH_A

Referenced by board_init().

#define SDRAM_BA0_FLAGS   PIO_PERIPH_C

Referenced by board_init().

#define SDRAM_BA0_PIO   PIO_PA20_IDX

SDRAM pins definitions.

Referenced by board_init().

#define SDRAM_CAS_FLAGS   PIO_PERIPH_C

Referenced by board_init().

#define SDRAM_CAS_PIO   PIO_PD17_IDX

Referenced by board_init().

#define SDRAM_D0_PIO   PIO_PC0_IDX

Referenced by board_init().

#define SDRAM_D10_PIO   PIO_PE2_IDX

Referenced by board_init().

#define SDRAM_D11_PIO   PIO_PE3_IDX

Referenced by board_init().

#define SDRAM_D12_PIO   PIO_PE4_IDX

Referenced by board_init().

#define SDRAM_D13_PIO   PIO_PE5_IDX

Referenced by board_init().

#define SDRAM_D14_PIO   PIO_PA15_IDX

Referenced by board_init().

#define SDRAM_D15_PIO   PIO_PA16_IDX

Referenced by board_init().

#define SDRAM_D1_PIO   PIO_PC1_IDX

Referenced by board_init().

#define SDRAM_D2_PIO   PIO_PC2_IDX

Referenced by board_init().

#define SDRAM_D3_PIO   PIO_PC3_IDX

Referenced by board_init().

#define SDRAM_D4_PIO   PIO_PC4_IDX

Referenced by board_init().

#define SDRAM_D5_PIO   PIO_PC5_IDX

Referenced by board_init().

#define SDRAM_D6_PIO   PIO_PC6_IDX

Referenced by board_init().

#define SDRAM_D7_PIO   PIO_PC7_IDX

Referenced by board_init().

#define SDRAM_D8_PIO   PIO_PE0_IDX

Referenced by board_init().

#define SDRAM_D9_PIO   PIO_PE1_IDX

Referenced by board_init().

#define SDRAM_D_FLAGS   PIO_PERIPH_A

Referenced by board_init().

#define SDRAM_NBS0_FLAGS   PIO_PERIPH_A

Referenced by board_init().

#define SDRAM_NBS0_PIO   PIO_PC18_IDX

Referenced by board_init().

#define SDRAM_NBS1_FLAGS   PIO_PERIPH_C

Referenced by board_init().

#define SDRAM_NBS1_PIO   PIO_PD15_IDX

Referenced by board_init().

#define SDRAM_RAS_FLAGS   PIO_PERIPH_C

Referenced by board_init().

#define SDRAM_RAS_PIO   PIO_PD16_IDX

Referenced by board_init().

#define SDRAM_SDA10_FLAGS   PIO_PERIPH_C

Referenced by board_init().

#define SDRAM_SDA10_PIO   PIO_PD13_IDX

Referenced by board_init().

#define SDRAM_SDCK_FLAGS   PIO_PERIPH_C

Referenced by board_init().

#define SDRAM_SDCK_PIO   PIO_PD23_IDX

Referenced by board_init().

#define SDRAM_SDCKE_FLAGS   PIO_PERIPH_C

Referenced by board_init().

#define SDRAM_SDCKE_PIO   PIO_PD14_IDX

Referenced by board_init().

#define SDRAM_SDCS_FLAGS   PIO_PERIPH_A

Referenced by board_init().

#define SDRAM_SDCS_PIO   PIO_PC15_IDX

Referenced by board_init().

#define SDRAM_SDWE_FLAGS   PIO_PERIPH_C

Referenced by board_init().

#define SDRAM_SDWE_PIO   PIO_PD29_IDX

Referenced by board_init().

#define SPI0_MISO_FLAGS   (IOPORT_MODE_MUX_B)

Referenced by board_init().

#define SPI0_MISO_GPIO   PIO_PD20_IDX

SPI0 pins definition.

Referenced by board_init().

#define SPI0_MOSI_FLAGS   (IOPORT_MODE_MUX_B)

Referenced by board_init().

#define SPI0_MOSI_GPIO   PIO_PD21_IDX

Referenced by board_init().

#define SPI0_NPCS0_FLAGS   (IOPORT_MODE_MUX_D)

Referenced by board_init().

#define SPI0_NPCS0_GPIO   PIO_PB2_IDX

Referenced by board_init().

#define SPI0_NPCS1_FLAGS   (IOPORT_MODE_MUX_B)

Referenced by board_init().

#define SPI0_NPCS1_GPIO   PIO_PD25_IDX

Referenced by board_init().

#define SPI0_NPCS2_FLAGS   (IOPORT_MODE_MUX_C)
#define SPI0_NPCS2_GPIO   PIO_PD12_IDX
#define SPI0_NPCS3_FLAGS   (IOPORT_MODE_MUX_B)
#define SPI0_NPCS3_GPIO   PIO_PD27_IDX
#define SPI0_SPCK_FLAGS   (IOPORT_MODE_MUX_B)

Referenced by board_init().

#define SPI0_SPCK_GPIO   PIO_PD22_IDX

Referenced by board_init().

#define SW0_ACTIVE   (IOPORT_PIN_LEVEL_LOW)
#define SW0_INACTIVE   (!SW0_ACTIVE)
#define SW0_PIN   (PIO_PA11_IDX)
#define SW0_SUPC_INPUT   2
#define TWIHS0_CLK_FLAGS   (IOPORT_MODE_MUX_A)

Referenced by board_init().

#define TWIHS0_CLK_GPIO   PIO_PA4_IDX

Referenced by board_init().

#define TWIHS0_DATA_FLAGS   (IOPORT_MODE_MUX_A)

Referenced by board_init().

#define TWIHS0_DATA_GPIO   PIO_PA3_IDX

TWI0 pins definition.

Referenced by board_init().

#define USART0_RXD_FLAGS   IOPORT_MODE_MUX_C

Referenced by board_init().

#define USART0_RXD_GPIO   PIO_PB0_IDX

USART0 pins definitions, PB0,PB1.

Referenced by board_init().

#define USART0_TXD_FLAGS   IOPORT_MODE_MUX_C

Referenced by board_init().

#define USART0_TXD_GPIO   PIO_PB1_IDX

Referenced by board_init().

#define USART1_RXD_FLAGS   IOPORT_MODE_MUX_A

Referenced by board_init().

#define USART1_RXD_GPIO   PIO_PA21_IDX

USART1 pins definitions, PA21,PB4.

Referenced by board_init().

#define USART1_TXD_FLAGS   IOPORT_MODE_MUX_D

Referenced by board_init().

#define USART1_TXD_GPIO   PIO_PB4_IDX

Referenced by board_init().

#define USB_ID_FLAGS   (PIO_INPUT | PIO_PULLUP)
#define USB_ID_PIN   PIO_PC16_IDX /* As IO pin input */

Referenced by board_init().

#define USB_ID_PIN_IRQn   (PIOC_IRQn)
#define USB_ID_PIO_ID   ID_PIOC
#define USB_ID_PIO_MASK   PIO_PC16
#define USB_VBUS_FLAGS   (PIO_INPUT | PIO_PULLUP)
#define USB_VBUS_PIN   PIO_PC9_IDX /* As IO pin input */

Referenced by board_init().

#define USB_VBUS_PIN_IRQn   ( PIOC_IRQn)
#define USB_VBUS_PIO_ID   ID_PIOC
#define USB_VBUS_PIO_MASK   PIO_PC9
#define WM8904_PCK2_FLAGS   PIO_PERIPH_B
#define WM8904_PCK2_PIO   PIO_PA18_IDX
#define WM8904_RD_FLAGS   PIO_PERIPH_C
#define WM8904_RD_PIO   PIO_PA10_IDX
#define WM8904_RF_FLAGS   PIO_PERIPH_B
#define WM8904_RF_PIO   PIO_PD24_IDX
#define WM8904_RK_FLAGS   PIO_PERIPH_A
#define WM8904_RK_PIO   PIO_PA22_IDX
#define WM8904_SLAVE_ADDRESS   (0x34 >> 1)

WM8904 Slave address.

#define WM8904_TD_FLAGS   PIO_PERIPH_B
#define WM8904_TD_PIO   PIO_PD26_IDX
#define WM8904_TF_FLAGS   PIO_PERIPH_D
#define WM8904_TF_PIO   PIO_PB0_IDX
#define WM8904_TK_FLAGS   PIO_PERIPH_D
#define WM8904_TK_PIO   PIO_PB1_IDX

WM8904 pins definition.

#define WM8904_TWIHS   TWIHS0

TWI interface for WM8904.