Board specific definitions for the SLTB001A starter kit.  
More...
#include "cpu.h"
#include "periph_conf.h"
#include "periph/adc.h"
#include "periph/gpio.h"
#include "periph/spi.h"
 
Go to the source code of this file.
 | 
The timer runs at 250 kHz to increase accuracy, or at 32.768 kHz if LETIMER is used.  
 | 
| 
#define  | XTIMER_DEV   (TIMER_DEV(0)) | 
|   | 
| 
#define  | XTIMER_HZ   (250000UL) | 
|   | 
| 
#define  | XTIMER_WIDTH   (16) | 
|   | 
| 
#define  | XTIMER_CHAN   (0) | 
|   | 
 | 
Connection to the on-chip temperature sensor.  
 | 
| 
#define  | CORETEMP_ADC   ADC_LINE(0) | 
|   | 
 | 
Pin for enabling environmental sensors (BMP280, Si1133, Si7021, Si7210).  
 | 
| 
#define  | ENV_SENSE_PIC_ADDR   (0x01) | 
|   | 
| 
#define  | ENV_SENSE_PIC_BIT   (0) | 
|   | 
 | 
Connection to the on-board pressure sensor (BMP280).  
 | 
| 
#define  | BMP280_I2C   I2C_DEV(0) | 
|   | 
| 
#define  | BMX280_PARAM_I2C_DEV   BMP280_I2C | 
|   | 
 | 
Connection to the on-board air quality/gas sensor (CCS811).  
 | 
| 
#define  | CCS811_I2C   I2C_DEV(0) | 
|   | 
| 
#define  | CCS811_PIC_ADDR   (0x03) | 
|   | 
| 
#define  | CCS811_PIC_EN_BIT   (0x00) | 
|   | 
| 
#define  | CCS811_PIC_WAKE_BIT   (0x01) | 
|   | 
| 
#define  | CCS811_PARAM_I2C_DEV   CCS811_I2C | 
|   | 
 | 
Connection to the on-board IMU sensor (ICM-20648).  
 | 
| 
#define  | ICM20648_ENABLED   0 | 
|   | 
| 
#define  | ICM20648_SPI   SPI_DEV(0) | 
|   | 
| 
#define  | ICM20648_PIC_ADDR   (0x00) | 
|   | 
| 
#define  | ICM20648_PIC_EN_BIT   (0x00) | 
|   | 
 | 
Pin for communication with the Power and Interrupt Controller.  
 | 
| 
#define  | PIC_INT_WAKE_PIN   GPIO_PIN(PD, 10) | 
|   | 
| 
#define  | PIC_I2C   I2C_DEV(0) | 
|   | 
| 
#define  | PIC_I2C_ADDR   (0x48) | 
|   | 
 | 
There are four RGB leds on the board.  
 | 
| 
#define  | RGB_LED1_ENABLED   1 | 
|   | 
| 
#define  | RGB_LED2_ENABLED   1 | 
|   | 
| 
#define  | RGB_LED3_ENABLED   1 | 
|   | 
| 
#define  | RGB_LED4_ENABLED   1 | 
|   | 
| 
#define  | RGB_LED_ADDR   (0x04) | 
|   | 
| 
#define  | RGB_LED_EN_BIT   (0x00) | 
|   | 
| 
#define  | RGB_LED1_EN_BIT   (0x07) | 
|   | 
| 
#define  | RGB_LED2_EN_BIT   (0x06) | 
|   | 
| 
#define  | RGB_LED3_EN_BIT   (0x05) | 
|   | 
| 
#define  | RGB_LED4_EN_BIT   (0x04) | 
|   | 
 | 
Connection to the on-board UV/ambient light sensor (Si1133).  
 | 
| 
#define  | SI1133_ENABLED   0 | 
|   | 
| 
#define  | SI1133_I2C   I2C_DEV(0) | 
|   | 
 | 
Connection to the on-board temperature/humidity sensor (Si7021).  
 | 
| 
#define  | SI7021_I2C   I2C_DEV(0) | 
|   | 
| 
#define  | SI70XX_PARAM_I2C_DEV   SI7021_I2C | 
|   | 
 | 
Connection to the on-board hall-effect sensor (Si7210). 
Available on Rev. A02 boards only.  
 | 
| 
#define  | SI7210_ENABLED   0 | 
|   | 
| 
#define  | SI7210_I2C   I2C_DEV(0) | 
|   |