Board specific configuration for the Waveshare nRF52840 Eval Kit.
More...
Board specific configuration for the Waveshare nRF52840 Eval Kit.
- Author
- Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net
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
◆ LED0_MASK
#define LED0_MASK (1 << 13) |
◆ LED0_OFF
#define LED0_OFF (LED0_PORT->OUTSET = LED0_MASK) |
◆ LED0_ON
#define LED0_ON (LED0_PORT->OUTCLR = LED0_MASK) |
◆ LED0_PIN
◆ LED0_PORT
#define LED0_PORT (NRF_P0) |
◆ LED0_TOGGLE
#define LED0_TOGGLE (LED0_PORT->OUT ^= LED0_MASK) |
◆ LED1_MASK
#define LED1_MASK (1 << 14) |
◆ LED1_OFF
◆ LED1_ON
◆ LED1_PIN
◆ LED1_PORT
#define LED1_PORT (NRF_P0) |
◆ LED1_TOGGLE
◆ LED2_MASK
#define LED2_MASK (1 << 9) |
◆ LED2_OFF
◆ LED2_ON
◆ LED2_PIN
◆ LED2_PORT
#define LED2_PORT (NRF_P1) |
◆ LED2_TOGGLE
◆ LED3_MASK
#define LED3_MASK (1 << 16) |
◆ LED3_OFF
#define LED3_OFF (LED3_PORT->OUTSET = LED3_MASK) |
◆ LED3_ON
#define LED3_ON (LED3_PORT->OUTCLR = LED3_MASK) |
◆ LED3_PIN
◆ LED3_PORT
#define LED3_PORT (NRF_P0) |
◆ LED3_TOGGLE
#define LED3_TOGGLE (LED3_PORT->OUT ^= LED3_MASK) |
◆ MTD_0
MTD device for the SD Card.
Definition at line 89 of file board.h.
◆ SDCARD_SPI_PARAM_CLK
#define SDCARD_SPI_PARAM_CLK GPIO_PIN(0, 17) |
◆ SDCARD_SPI_PARAM_CS
#define SDCARD_SPI_PARAM_CS GPIO_PIN(0, 12) |
◆ SDCARD_SPI_PARAM_MISO
#define SDCARD_SPI_PARAM_MISO GPIO_PIN(0, 20) |
◆ SDCARD_SPI_PARAM_MOSI
#define SDCARD_SPI_PARAM_MOSI GPIO_PIN(0, 24) |
◆ SDCARD_SPI_PARAM_SPI
#define SDCARD_SPI_PARAM_SPI SPI_DEV(1) |