Appiko
Macros
PCA10028 nRF51-DK

The nRF51 Development Kit (DK) platform PCA10028. More...

Macros

#define DC_DC_CIRCUITRY   true
 Bool define if the circuitry is present for the internal DC-DC of nRF51.
 
#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 PCA10028

#define LED_1   21
 
#define LED_2   22
 
#define LED_3   23
 
#define LED_4   24
 
#define LEDS_ACTIVE_STATE   0
 

Button definitions for PCA10028

#define BUTTON_1   17
 
#define BUTTON_2   18
 
#define BUTTON_3   19
 
#define BUTTON_4   20
 
#define BUTTONS_ACTIVE_STATE   0
 
#define BUTTON_PULL   NRF_GPIO_PIN_PULLUP
 

Serial port definitions for PCA10028

#define RX_PIN_NUMBER   11
 
#define TX_PIN_NUMBER   9
 
#define CTS_PIN_NUMBER   10
 
#define RTS_PIN_NUMBER   8
 
#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, \
.xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}

Low frequency clock source used when initializing the SoftDevice

Definition at line 76 of file pca10028.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 pca10028.h.

◆ BUTTONS_ACTIVE_STATE

#define BUTTONS_ACTIVE_STATE   0

The input level when the button is pressed

Definition at line 50 of file pca10028.h.

◆ HWFC

#define HWFC   false

Bool to say if the hardware flow control is required

Definition at line 63 of file pca10028.h.

◆ LEDS_ACTIVE_STATE

#define LEDS_ACTIVE_STATE   0

The output level at which the LEDs shine

Definition at line 39 of file pca10028.h.