Board specific configuration for the nRF52840 DK.
More...
Board specific configuration for the nRF52840 DK.
- Author
- Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
-
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t
Definition in file board.h.
#include "board_common.h"
Go to the source code of this file.
◆ BTN0_MODE
#define BTN0_MODE GPIO_IN_PU |
◆ BTN0_PIN
◆ BTN1_MODE
#define BTN1_MODE GPIO_IN_PU |
◆ BTN1_PIN
◆ BTN2_MODE
#define BTN2_MODE GPIO_IN_PU |
◆ BTN2_PIN
◆ BTN3_MODE
#define BTN3_MODE GPIO_IN_PU |
◆ BTN3_PIN
◆ LED0_MASK
#define LED0_MASK (1 << 13) |
◆ LED0_OFF
#define LED0_OFF (LED_PORT->OUTSET = LED0_MASK) |
◆ LED0_ON
#define LED0_ON (LED_PORT->OUTCLR = LED0_MASK) |
◆ LED0_PIN
◆ LED0_TOGGLE
#define LED0_TOGGLE (LED_PORT->OUT ^= LED0_MASK) |
◆ LED1_MASK
#define LED1_MASK (1 << 14) |
◆ LED1_OFF
#define LED1_OFF (LED_PORT->OUTSET = LED1_MASK) |
◆ LED1_ON
#define LED1_ON (LED_PORT->OUTCLR = LED1_MASK) |
◆ LED1_PIN
◆ LED1_TOGGLE
#define LED1_TOGGLE (LED_PORT->OUT ^= LED1_MASK) |
◆ LED2_MASK
#define LED2_MASK (1 << 15) |
◆ LED2_OFF
#define LED2_OFF (LED_PORT->OUTSET = LED2_MASK) |
◆ LED2_ON
#define LED2_ON (LED_PORT->OUTCLR = LED2_MASK) |
◆ LED2_PIN
◆ LED2_TOGGLE
#define LED2_TOGGLE (LED_PORT->OUT ^= LED2_MASK) |
◆ LED3_MASK
#define LED3_MASK (1 << 16) |
◆ LED3_OFF
#define LED3_OFF (LED_PORT->OUTSET = LED3_MASK) |
◆ LED3_ON
#define LED3_ON (LED_PORT->OUTCLR = LED3_MASK) |
◆ LED3_PIN
◆ LED3_TOGGLE
#define LED3_TOGGLE (LED_PORT->OUT ^= LED3_MASK) |
◆ LED_MASK
◆ LED_PORT
#define LED_PORT (NRF_P0) |
◆ MTD_0
Default MTD device.
Definition at line 79 of file board.h.
◆ NRF52840DK_NOR_FLAGS
◆ NRF52840DK_NOR_PAGE_SIZE
#define NRF52840DK_NOR_PAGE_SIZE (256) |
◆ NRF52840DK_NOR_PAGES_PER_SECTOR
#define NRF52840DK_NOR_PAGES_PER_SECTOR (16) |
◆ NRF52840DK_NOR_SECTOR_COUNT
#define NRF52840DK_NOR_SECTOR_COUNT (2048) |
◆ NRF52840DK_NOR_SPI_CLK
◆ NRF52840DK_NOR_SPI_CS
#define NRF52840DK_NOR_SPI_CS GPIO_PIN(0, 17) |
◆ NRF52840DK_NOR_SPI_DEV
#define NRF52840DK_NOR_SPI_DEV SPI_DEV(1) |
◆ NRF52840DK_NOR_SPI_MODE