ACD52832

Detailed Description

Files

file  acd52832/include/board.h
 Board specific configuaration for the ACD52832.
 
file  boards/acd52832/include/periph_conf.h
 Peripheral configuration for the ACD52832.
 

Functions

void board_init (void)
 Initialize board specific hardware, including clock, LEDs and std-IO.
 

LED pin configuration

#define LED0_PIN   GPIO_PIN(0, 26)
 
#define LED_PORT   (NRF_P0)
 
#define LED0_MASK   (1 << 26)
 
#define LED0_ON   (LED_PORT->OUTCLR = LED0_MASK)
 
#define LED0_OFF   (LED_PORT->OUTSET = LED0_MASK)
 
#define LED0_TOGGLE   (LED_PORT->OUT ^= LED0_MASK)
 

Button pin configuration

#define BTN0_PIN   GPIO_PIN(0, 25)
 
#define BTN0_MODE   GPIO_IN_PU