nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Common definitions for BLE and Gazell

Common definitions for BLE and Gazell in the multiprotocol application. More...

Macros

#define APP_GPIOTE_MAX_USERS   1
 
#define APP_TIMER_PRESCALER   0
 
#define APP_TIMER_MAX_TIMERS   6
 
#define APP_TIMER_OP_QUEUE_SIZE   4
 

Enumerations

enum  radio_mode_t {
  BLE,
  GAZELL
}
 Protocol mode type. More...
 

Variables

volatile radio_mode_t running_mode
 External reference to the current radio mode.
 

Detailed Description

Macro Definition Documentation

#define APP_GPIOTE_MAX_USERS   1

Maximum number of users of the GPIOTE handler.

#define APP_TIMER_PRESCALER   0

Value of the RTC1 PRESCALER register.

#define APP_TIMER_MAX_TIMERS   6

Maximum number of simultaneously created timers.

#define APP_TIMER_OP_QUEUE_SIZE   4

Size of timer operation queues.

Enumeration Type Documentation

Enumerator
BLE 

Bluetooth mode, the application acts a simulated Heart Rate sensor.

GAZELL 

Gazell mode, the application acts as a 'Gazell Device'.