#ifndef PERIPHERAL_PIN_MAP_H
#define PERIPHERAL_PIN_MAP_H

#ifdef __cplusplus
extern "C" {
#endif

#if defined BOARD_CUSTOM
		#define DRDY 				NRF_GPIO_PIN_MAP(0, 3)
		#define ADS_START 			NRF_GPIO_PIN_MAP(0, 13)
		#define ADS_PWR 			NRF_GPIO_PIN_MAP(0, 15)
		#define GPIOTE_CHANNEL_0 	0
		#define BUTTON				NRF_GPIO_PIN_MAP(0, 1)
		#define POWERSWITCH			NRF_GPIO_PIN_MAP(0, 26)
		#define PS_HOLD				NRF_GPIO_PIN_MAP(0, 25)
		#define BAT_LOW				NRF_GPIO_PIN_MAP(0, 31)
		#define BAT_LOAD			NRF_GPIO_PIN_MAP(0, 30)
		#define BAT_INT 			NRF_GPIO_PIN_MAP(0, 0)
		#define BAT_MEASURE			NRF_SAADC_INPUT_AIN4

		#define SDC_SCK_PIN     	27
		#define SDC_MOSI_PIN    	29
		#define SDC_MISO_PIN    	23
		#define SDC_CS_PIN      	24

		#define LED_RGB_GREEN       NRF_GPIO_PIN_MAP(0, 2)
		#define LED_STATUS          LED_RGB_GREEN
#endif


#ifdef __cplusplus
}
#endif

#endif // PERIPHERAL_PIN_MAP_H
