/* * Code generated from Atmel Start. * * This file will be overwritten when reconfiguring your Atmel Start project. * Please copy examples or other code you want to keep to a separate file * to avoid losing it when reconfiguring. */ #ifndef ATMEL_START_PINS_H_INCLUDED #define ATMEL_START_PINS_H_INCLUDED #include // SAMD21 has 8 pin functions #define GPIO_PIN_FUNCTION_A 0 #define GPIO_PIN_FUNCTION_B 1 #define GPIO_PIN_FUNCTION_C 2 #define GPIO_PIN_FUNCTION_D 3 #define GPIO_PIN_FUNCTION_E 4 #define GPIO_PIN_FUNCTION_F 5 #define GPIO_PIN_FUNCTION_G 6 #define GPIO_PIN_FUNCTION_H 7 #define OUT_LED_TX GPIO(GPIO_PORTA, 6) #define OUT_XBEE_REMOTE_RESET GPIO(GPIO_PORTA, 7) #define IN_UART_TX GPIO(GPIO_PORTA, 8) #define OUT_UART_RX GPIO(GPIO_PORTA, 9) #define OUT_XBEE_HEARTBEAT GPIO(GPIO_PORTA, 14) #define OUT_LED_OTAU GPIO(GPIO_PORTA, 15) #define PA16 GPIO(GPIO_PORTA, 16) #define OUT_SPI_CS GPIO(GPIO_PORTA, 17) #define PA18 GPIO(GPIO_PORTA, 18) #define PA19 GPIO(GPIO_PORTA, 19) #define OUT_LED_LINK GPIO(GPIO_PORTA, 27) #define OUT_LED_RX GPIO(GPIO_PORTA, 28) #endif // ATMEL_START_PINS_H_INCLUDED