Appiko
Macros
hackaBLE

The hackaBLE board for development and testing. https://github.com/electronut/ElectronutLabs-hackaBLE. More...

Macros

#define DC_DC_CIRCUITRY   true
 Bool define if the circuitry is present for the internal DC-DC of nRF52.
 
#define NFC_CIRCUITRY   true
 Bool define if a NFC Antenna circuitry is present.
 
#define LFCLK_XTAL_PRESENT   true
 Bool define if the 32 kHz crystal is present for the LFCLK.
 
#define HFCLK_XTAL_PRESENT   true
 Bool define if a crystal is present for the HFCLK.
 
#define BOARD_LFCLKSRC_STRUCT
 

LED definitions for hackable

Note
LED_1, LED_2 and LED_3 are defines of the LED for compatibility with existing examples
#define LED_RED   19
 
#define LED_GREEN   20
 
#define LED_BLUE   17
 
#define LED_1   19
 
#define LED_2   20
 
#define LED_3   17
 
#define LEDS_ACTIVE_STATE   0
 

Serial port definitions for Hackable

#define RX_PIN_NUMBER   2
 
#define TX_PIN_NUMBER   3
 
#define HWFC   false
 
#define RTS_PIN_NUMBER   6
 
#define CTS_PIN_NUMBER   7
 

Pin definations for NFC antenna connectors

#define NFC_1_ANTENNA_CONNECTOR_PIN_NO   9
 
#define NFC_2_ANTENNA_CONNECTOR_PIN_NO   10
 

Detailed Description

Macro Definition Documentation

◆ BOARD_LFCLKSRC_STRUCT

#define BOARD_LFCLKSRC_STRUCT
Value:
{.source = NRF_CLOCK_LF_SRC_XTAL, \
.rc_ctiv = 0, \
.rc_temp_ctiv = 0, \
.accuracy = NRF_CLOCK_LF_ACCURACY_20_PPM}

Low frequency clock source used when initializing the SoftDevice

Definition at line 78 of file hackable.h.

◆ LEDS_ACTIVE_STATE

#define LEDS_ACTIVE_STATE   0

The output level at which the LEDs shine

Definition at line 45 of file hackable.h.