#ifndef EV_BT840F_H
#define EV_BT840F_H

#ifdef __cplusplus
extern "C" {
#endif

#include "nrf_gpio.h"

// LEDs definitions for FANSTEL EV-BT840F
#define LEDS_NUMBER    4

#define LED_1          NRF_GPIO_PIN_MAP(0,17)
#define LED_2          NRF_GPIO_PIN_MAP(1,00)
#define LED_3          NRF_GPIO_PIN_MAP(0,19)
#define LED_4          NRF_GPIO_PIN_MAP(0,13)
//#define LED_START      LED_1
//#define LED_STOP       LED_4

#define LEDS_ACTIVE_STATE 0

#define LEDS_LIST { LED_1, LED_2, LED_3, LED_4 }

#define LEDS_INV_MASK  LEDS_MASK

//#define BSP_LED_0      13
//#define BSP_LED_1      14
//#define BSP_LED_2      15
//#define BSP_LED_3      16

#define BUTTONS_NUMBER 4

#define BUTTON_1       11
#define BUTTON_2       14
#define BUTTON_3       15
#define BUTTON_4       16
#define BUTTON_PULL    NRF_GPIO_PIN_PULLUP

#define BUTTONS_ACTIVE_STATE 0

#define BUTTONS_LIST { BUTTON_1, BUTTON_2, BUTTON_3, BUTTON_4 }

#define BSP_BUTTON_0   BUTTON_1
#define BSP_BUTTON_1   BUTTON_2
#define BSP_BUTTON_2   BUTTON_3
#define BSP_BUTTON_3   BUTTON_4


#ifdef __cplusplus
}
#endif

#endif 
