EasyManua.ls Logo

Ublox NINA-B3 Series - Page 18

Ublox NINA-B3 Series
72 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NINA-B3 series - System integration manual
UBX-17056748 - R13 Software Page 18 of 72
C1-Public
#define LEDS_LIST { LED_1, LED_2 }
#define LEDS_INV_MASK LEDS_MASK
#define BSP_LED_0 LED_1
#define BSP_LED_1 LED_2
// #define BSP_LED_2 LED_3
#define BUTTONS_NUMBER 2
#define BUTTON_1 25 // SWITCH_1
#define BUTTON_2 2 // SWITCH_2
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
#define BUTTONS_ACTIVE_STATE 0
#define BUTTONS_LIST { BUTTON_1, BUTTON_2 }
#define BSP_BUTTON_0 BUTTON_1
#define BSP_BUTTON_1 BUTTON_2
#define RX_PIN_NUMBER NRF_GPIO_PIN_MAP(0,29)
#define TX_PIN_NUMBER NRF_GPIO_PIN_MAP(1,13)
#define CTS_PIN_NUMBER NRF_GPIO_PIN_MAP(1,12)
#define RTS_PIN_NUMBER NRF_GPIO_PIN_MAP(0,31)
#define HWFC true
#define BSP_QSPI_SCK_PIN 19
#define BSP_QSPI_CSN_PIN 17
#define BSP_QSPI_IO0_PIN 20
#define BSP_QSPI_IO1_PIN 21
#define BSP_QSPI_IO2_PIN 22
#define BSP_QSPI_IO3_PIN 23
// Arduino board mappings
#define ARDUINO_SCL_PIN 24 // SCL signal pin
#define ARDUINO_SDA_PIN 16 // SDA signal pin
#define ARDUINO_13_PIN NRF_GPIO_PIN_MAP(0, 7)
#define ARDUINO_12_PIN NRF_GPIO_PIN_MAP(0, 2)
#define ARDUINO_11_PIN NRF_GPIO_PIN_MAP(0, 15)
#define ARDUINO_10_PIN NRF_GPIO_PIN_MAP(0, 14)
#define ARDUINO_9_PIN NRF_GPIO_PIN_MAP(0, 12)
#define ARDUINO_8_PIN NRF_GPIO_PIN_MAP(1, 9)
#define ARDUINO_7_PIN NRF_GPIO_PIN_MAP(0, 10)
#define ARDUINO_6_PIN NRF_GPIO_PIN_MAP(0, 9)
#define ARDUINO_5_PIN NRF_GPIO_PIN_MAP(0, 11)
#define ARDUINO_4_PIN NRF_GPIO_PIN_MAP(0, 13)
#define ARDUINO_3_PIN NRF_GPIO_PIN_MAP(0, 31)
#define ARDUINO_2_PIN NRF_GPIO_PIN_MAP(1, 12)
#define ARDUINO_1_PIN NRF_GPIO_PIN_MAP(1, 13
#define ARDUINO_0_PIN NRF_GPIO_PIN_MAP(0, 29)
#define ARDUINO_A0_PIN NRF_GPIO_PIN_MAP(0, 4)
#define ARDUINO_A1_PIN NRF_GPIO_PIN_MAP(0, 30)
#define ARDUINO_A2_PIN NRF_GPIO_PIN_MAP(0, 5)
#define ARDUINO_A3_PIN NRF_GPIO_PIN_MAP(0, 2)
#define ARDUINO_A4_PIN NRF_GPIO_PIN_MAP(0, 28)
#define ARDUINO_A5_PIN NRF_GPIO_PIN_MAP(0, 3)
#define RASPBERRY_PI_3_PIN NRF_GPIO_PIN_MAP(0, 24)
#define RASPBERRY_PI_5_PIN NRF_GPIO_PIN_MAP(0, 16)
#define RASPBERRY_PI_7_PIN NRF_GPIO_PIN_MAP(0, 15)
#define RASPBERRY_PI_11_PIN NRF_GPIO_PIN_MAP(0, 14)
#define RASPBERRY_PI_13_PIN NRF_GPIO_PIN_MAP(0, 19)

Table of Contents