1 /* 2 * Copyright (c) 2018 LEDCity AG. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef __INC_BOARD_H 8 #define __INC_BOARD_H 9 10 /* External edge connector pin mappings to nRF52 GPIO pin numbers. 11 * More information: 12 * https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide?view=all#device-pinout 13 * https://cdn-learn.adafruit.com/assets/assets/000/039/913/original/microcontrollers_BluefruitnRF52Feather_Rev-F.png?1488978189 14 */ 15 #define EXT_A0_GPIO_PIN 2 /* P2, Analog in */ 16 #define EXT_A1_GPIO_PIN 3 /* P3, Analog in */ 17 #define EXT_A2_GPIO_PIN 4 /* P4, Analog in */ 18 #define EXT_A3_GPIO_PIN 5 /* P5, Analog in */ 19 #define EXT_A4_GPIO_PIN 28 /* P28, Analog in */ 20 #define EXT_A5_GPIO_PIN 29 /* P29, Analog in */ 21 #define EXT_A6_GPIO_PIN 30 /* P30, Analog in */ 22 #define EXT_A7_GPIO_PIN 31 /* P31, Analog in */ 23 #define EXT_SCK_GPIO_PIN 12 /* P12 */ 24 #define EXT_MOSI_GPIO_PIN 13 /* P13 */ 25 #define EXT_MISO_GPIO_PIN 14 /* P14 */ 26 #define EXT_RXD_GPIO_PIN 8 /* P8 */ 27 #define EXT_TXD_GPIO_PIN 6 /* P6 */ 28 #define EXT_P16_GPIO_PIN 16 /* P16 */ 29 #define EXT_P15_GPIO_PIN 15 /* P15 */ 30 #define EXT_P7_GPIO_PIN 7 /* P7 */ 31 #define EXT_P11_GPIO_PIN 11 /* P11 */ 32 #define EXT_P27_GPIO_PIN 27 /* P27 */ 33 #define EXT_SCL_GPIO_PIN 26 /* P26 */ 34 #define EXT_SDA_GPIO_PIN 25 /* P25 */ 35 36 37 #endif /* __INC_BOARD_H */ 38