Board specific definitions for the SLSTK3400A starter kit. More...
Board specific definitions for the SLSTK3400A starter kit.
Definition in file board.h.
Go to the source code of this file.
Xtimer configuration | |
The timer runs at 250 kHz. | |
#define | XTIMER_DEV (TIMER_DEV(0)) |
#define | XTIMER_HZ (250000UL) |
#define | XTIMER_WIDTH (16) |
#define | XTIMER_CHAN (0) |
Board controller configuration | |
Define the GPIO pin to enable the BC, to allow serial communication via the USB port. | |
#define | BC_PIN GPIO_PIN(PA, 9) |
Push button pin definitions | |
#define | PB0_PIN GPIO_PIN(PC, 9) |
#define | PB1_PIN GPIO_PIN(PC, 10) |
LED pin definitions | |
#define | LED0_PIN GPIO_PIN(PF, 4) |
#define | LED1_PIN GPIO_PIN(PF, 5) |
Macros for controlling the on-board LEDs | |
#define | LED0_ON gpio_set(LED0_PIN) |
#define | LED0_OFF gpio_clear(LED0_PIN) |
#define | LED0_TOGGLE gpio_toggle(LED0_PIN) |
#define | LED1_ON gpio_set(LED1_PIN) |
#define | LED1_OFF gpio_clear(LED1_PIN) |
#define | LED1_TOGGLE gpio_toggle(LED1_PIN) |
Core temperature sensor configuration | |
Connection to the on-chip temperature sensor. | |
#define | CORETEMP_ADC ADC_LINE(0) |
Display configuration | |
Connection to the on-board Sharp Memory LCD (LS013B7DH03). | |
#define | DISP_SPI SPI_DEV(0) |
#define | DISP_COM_PIN GPIO_PIN(PF, 3) |
#define | DISP_CS_PIN GPIO_PIN(PA, 10) |
#define | DISP_EN_PIN GPIO_PIN(PA, 8) |
Temperature sensor configuration | |
Connection to the on-board temperature/humidity sensor (Si7021). | |
#define | SI7021_I2C I2C_DEV(0) |
#define | SI7021_EN_PIN GPIO_PIN(PC, 8) |
#define | SI70XX_PARAM_I2C_DEV SI7021_I2C |
#define LED0_OFF gpio_clear(LED0_PIN) |
#define LED0_TOGGLE gpio_toggle(LED0_PIN) |
#define LED1_OFF gpio_clear(LED1_PIN) |
#define LED1_TOGGLE gpio_toggle(LED1_PIN) |