Board specific configuration for the Adafruit Feather nRF52840 Sense.
More...
#include "cpu.h"
#include "board_common.h"
#include "periph/gpio.h"
Go to the source code of this file.
◆ BMX280_PARAM_I2C_DEV
#define BMX280_PARAM_I2C_DEV I2C_DEV(0) |
I2C device.
Definition at line 66 of file board.h.
◆ BTN0_MODE
#define BTN0_MODE GPIO_IN_PU |
◆ BTN0_PIN
◆ LED0_MASK
#define LED0_MASK (1 << 9) |
◆ LED0_OFF
#define LED0_OFF (LED_PORT->OUTCLR = LED0_MASK) |
◆ LED0_ON
#define LED0_ON (LED_PORT->OUTSET = LED0_MASK) |
◆ LED0_PIN
◆ LED0_TOGGLE
#define LED0_TOGGLE (LED_PORT->OUT ^= LED0_MASK) |
◆ LED1_MASK
#define LED1_MASK (1 << 10) |
◆ LED1_OFF
#define LED1_OFF (LED_PORT->OUTCLR = LED1_MASK) |
◆ LED1_ON
#define LED1_ON (LED_PORT->OUTSET = LED1_MASK) |
◆ LED1_PIN
◆ LED1_TOGGLE
#define LED1_TOGGLE (LED_PORT->OUT ^= LED1_MASK) |
◆ LED_MASK
◆ LED_PORT
#define LED_PORT (NRF_P1) |
◆ LIS3MDL_PARAM_ADDR
#define LIS3MDL_PARAM_ADDR (0x1C) |
I2C address.
Definition at line 74 of file board.h.
◆ LIS3MDL_PARAM_I2C
#define LIS3MDL_PARAM_I2C I2C_DEV(0) |
I2C device.
Definition at line 73 of file board.h.
◆ LSM6DSXX_PARAM_ADDR
#define LSM6DSXX_PARAM_ADDR (0x6A) |
◆ LSM6DSXX_PARAM_I2C
#define LSM6DSXX_PARAM_I2C I2C_DEV(0) |
◆ SHT3X_PARAM_I2C_ADDR
I2C address.
Definition at line 82 of file board.h.
◆ SHT3X_PARAM_I2C_DEV
#define SHT3X_PARAM_I2C_DEV I2C_DEV(0) |
I2C device.
Definition at line 81 of file board.h.
◆ WS281X_PARAM_NUMOF
#define WS281X_PARAM_NUMOF (1U) |
Number of LEDs chained.
Definition at line 101 of file board.h.
◆ WS281X_PARAM_PIN
#define WS281X_PARAM_PIN GPIO_PIN(0, 16) |
GPIO pin connected to the data pin of the first LED.
Definition at line 98 of file board.h.