Support for the SenseBox MCU with SAMD21 board.
More...
Support for the SenseBox MCU with SAMD21 board.
Board specific configuration for the SenseBox MCU with SAMD21 board.
- Author
- Leandro Lanzieri leand.nosp@m.ro.l.nosp@m.anzie.nosp@m.ri@h.nosp@m.aw-ha.nosp@m.mbur.nosp@m.g.de
Definition in file board.h.
#include "cpu.h"
#include "periph_conf.h"
#include "periph_cpu.h"
#include "periph/gpio.h"
Go to the source code of this file.
◆ BMX280_PARAM_I2C_ADDR
#define BMX280_PARAM_I2C_ADDR (0x76) |
BMP280 Pressure and temperature sensor.
Definition at line 163 of file board.h.
◆ BTN0_MODE
#define BTN0_MODE GPIO_IN_PU |
◆ BTN0_PIN
◆ HDC1000_PARAM_ADDR
#define HDC1000_PARAM_ADDR (0x40) |
HDC1000 Temperature & Humidity sensor.
Definition at line 153 of file board.h.
◆ I2C_DISABLE
#define I2C_DISABLE (I2C_EN_PORT.OUTCLR.reg = I2C_EN_MASK) |
◆ I2C_EN_MASK
#define I2C_EN_MASK (1 << 11) |
◆ I2C_EN_MODE
◆ I2C_EN_PIN
◆ I2C_EN_PORT
#define I2C_EN_PORT PORT->Group[PB] |
◆ I2C_ENABLE
#define I2C_ENABLE (I2C_EN_PORT.OUTSET.reg = I2C_EN_MASK) |
◆ LED0_MASK
#define LED0_MASK (1 << 27) |
◆ LED0_OFF
#define LED0_OFF (LED_PORT.OUTCLR.reg = LED0_MASK) |
◆ LED0_ON
#define LED0_ON (LED_PORT.OUTSET.reg = LED0_MASK) |
◆ LED0_PIN
◆ LED0_TOGGLE
#define LED0_TOGGLE (LED_PORT.OUTTGL.reg = LED0_MASK) |
◆ LED1_MASK
#define LED1_MASK (1 << 28) |
◆ LED1_OFF
#define LED1_OFF (LED_PORT.OUTCLR.reg = LED1_MASK) |
◆ LED1_ON
#define LED1_ON (LED_PORT.OUTSET.reg = LED1_MASK) |
◆ LED1_PIN
◆ LED1_TOGGLE
#define LED1_TOGGLE (LED_PORT.OUTTGL.reg = LED1_MASK) |
◆ LED_PORT
#define LED_PORT PORT->Group[PA] |
◆ MTD_0
MTD device 0 (SD Card) definition.
mtd_dev_get(0) is defined in board.c
Definition at line 170 of file board.h.
◆ SX127X_PARAM_DIO0
#define SX127X_PARAM_DIO0 XBEE1_INT_PIN /* D24 */ |
◆ SX127X_PARAM_DIO1
◆ SX127X_PARAM_DIO2
◆ SX127X_PARAM_DIO3
◆ SX127X_PARAM_PASELECT
◆ SX127X_PARAM_RESET
◆ SX127X_PARAM_SPI
#define SX127X_PARAM_SPI (SPI_DEV(0)) |
◆ SX127X_PARAM_SPI_NSS
#define SX127X_PARAM_SPI_NSS XBEE1_CS_PIN /* D23 */ |
◆ TSL2561_PARAM_ADDR
#define TSL2561_PARAM_ADDR TSL2561_ADDR_LOW |
TSL2561 Visible light sensor.
Definition at line 158 of file board.h.
◆ WAIT_FOR_SPI_RESET
#define WAIT_FOR_SPI_RESET (3000000UL) |
Delay to wait for SPI reset.
Definition at line 148 of file board.h.
◆ XBEE1_CS_PIN
◆ XBEE1_DISABLE
#define XBEE1_DISABLE (XBEE1_EN_PORT.OUTSET.reg = XBEE1_EN_MASK) |
◆ XBEE1_EN_MASK
#define XBEE1_EN_MASK (1 << 3) |
◆ XBEE1_EN_MODE
◆ XBEE1_EN_PIN
◆ XBEE1_EN_PORT
#define XBEE1_EN_PORT PORT->Group[PB] |
◆ XBEE1_ENABLE
#define XBEE1_ENABLE (XBEE1_EN_PORT.OUTCLR.reg = XBEE1_EN_MASK) |
◆ XBEE1_INT_PIN
◆ XBEE2_CS_PIN
◆ XBEE2_DISABLE
#define XBEE2_DISABLE (XBEE2_EN_PORT.OUTSET.reg = XBEE2_EN_MASK) |
◆ XBEE2_EN_MASK
#define XBEE2_EN_MASK (1 << 10) |
◆ XBEE2_EN_MODE
◆ XBEE2_EN_PIN
◆ XBEE2_EN_PORT
#define XBEE2_EN_PORT PORT->Group[PB] |
◆ XBEE2_ENABLE
#define XBEE2_ENABLE (XBEE2_EN_PORT.OUTCLR.reg = XBEE2_EN_MASK) |
◆ XBEE2_INT_PIN