Appiko
Macros
PCA10040 nRF52-DK

The nRF52 Development Kit (DK) platform PCA10040. 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 PCA10040

#define LED_1   17
 
#define LED_2   18
 
#define LED_3   19
 
#define LED_4   20
 
#define LEDS_ACTIVE_STATE   0
 

Button definitions for PCA10040

#define BUTTON_1   13
 
#define BUTTON_2   14
 
#define BUTTON_3   15
 
#define BUTTON_4   16
 
#define BUTTONS_ACTIVE_STATE   0
 
#define BUTTON_PULL   NRF_GPIO_PIN_PULLUP
 

Serial port definitions for PCA10040

#define RX_PIN_NUMBER   8
 
#define TX_PIN_NUMBER   6
 
#define CTS_PIN_NUMBER   7
 
#define RTS_PIN_NUMBER   5
 
#define HWFC   false
 

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 79 of file pca10040.h.

◆ BUTTON_PULL

#define BUTTON_PULL   NRF_GPIO_PIN_PULLUP

The kind of internal resistors required for the button

Definition at line 52 of file pca10040.h.

◆ BUTTONS_ACTIVE_STATE

#define BUTTONS_ACTIVE_STATE   0

The input level when the button is pressed

Definition at line 50 of file pca10040.h.

◆ HWFC

#define HWFC   false

Bool to say if the hardware flow control is required

Definition at line 63 of file pca10040.h.

◆ LEDS_ACTIVE_STATE

#define LEDS_ACTIVE_STATE   0

The output level at which the LEDs shine

Definition at line 39 of file pca10040.h.