Loading...
Searching...
No Matches
board.h File Reference

For more information: http://aconno.de/acd52832/. More...

Detailed Description

For more information: http://aconno.de/acd52832/.

Board specific configuration for the ACD52832

Author
Dimitri Nahm dimit.nosp@m.ri.n.nosp@m.ahm@h.nosp@m.aw-h.nosp@m.ambur.nosp@m.g.de

Definition in file board.h.

#include "cpu.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN_PU

Definition at line 50 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(0, 25)

Definition at line 49 of file board.h.

◆ LED0_MASK

#define LED0_MASK   (1 << 26)

Definition at line 38 of file board.h.

◆ LED0_OFF

#define LED0_OFF   (LED_PORT->OUTSET = LED0_MASK)

Definition at line 41 of file board.h.

◆ LED0_ON

#define LED0_ON   (LED_PORT->OUTCLR = LED0_MASK)

Definition at line 40 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO_PIN(0, 26)

Definition at line 35 of file board.h.

◆ LED0_TOGGLE

#define LED0_TOGGLE   (LED_PORT->OUT ^= LED0_MASK)

Definition at line 42 of file board.h.

◆ LED_PORT

#define LED_PORT   (NRF_P0)

Definition at line 37 of file board.h.