Board specific configuration for the Adafruit Clue board.
More...
Board specific configuration for the Adafruit Clue board.
- Author
- Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Definition in file board.h.
#include "cpu.h"
#include "board_common.h"
Go to the source code of this file.
|
#define | LED0_PIN GPIO_PIN(1, 1) |
|
#define | LED0_MASK (1 << 1) |
|
#define | LED0_ON (NRF_P1->OUTSET = LED0_MASK) |
|
#define | LED0_OFF (NRF_P1->OUTCLR = LED0_MASK) |
|
#define | LED0_TOGGLE (NRF_P1->OUT ^= LED0_MASK) |
|
|
#define | APDS99XX_PARAM_DEV I2C_DEV(1) |
|
#define | APDS99XX_PARAM_INT_PIN GPIO_PIN(0, 9) |
|
|
#define | BMX280_PARAM_I2C_DEV I2C_DEV(1) |
|
|
#define | LIS3MDL_PARAM_I2C I2C_DEV(1) |
|
#define | LIS3MDL_PARAM_ADDR (0x1C) |
|
|
@
|
#define | BACKLIGHT_PIN GPIO_PIN(1, 5) |
|
#define | BACKLIGHT_MASK (1 << 5) |
|
#define | BACKLIGHT_ON (NRF_P1->OUTSET = BACKLIGHT_MASK) |
|
#define | BACKLIGHT_OFF (NRF_P1->OUTCLR = BACKLIGHT_MASK) |
|
|
@
|
#define | ILI9341_PARAM_SPI SPI_DEV(1) |
|
#define | ILI9341_PARAM_CS GPIO_PIN(0, 12) |
|
#define | ILI9341_PARAM_DCX GPIO_PIN(0, 13) |
|
#define | ILI9341_PARAM_RST GPIO_PIN(1, 3) |
|
#define | ILI9341_PARAM_NUM_LINES (240U) |
|
#define | ILI9341_PARAM_RGB (1) |
|
#define | ILI9341_PARAM_INVERTED (1) |
|