Board specific definitions for the SLSTK3401A 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.
|
void | board_init (void) |
| Initialize the board (GPIO, sensors, clocks).
|
|
|
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) |
|
|
Define the GPIO pin to enable the BC, to allow serial communication via the USB port.
|
#define | BC_PIN GPIO_PIN(PA, 5) |
|
|
Connection to the on-chip temperature sensor.
|
#define | CORETEMP_ADC ADC_LINE(0) |
|
|
Connection to the on-board Sharp Memory LCD (LS013B7DH03).
|
#define | DISP_SPI SPI_DEV(0) |
|
#define | DISP_COM_PIN GPIO_PIN(PD, 13) |
|
#define | DISP_CS_PIN GPIO_PIN(PD, 14) |
|
#define | DISP_EN_PIN GPIO_PIN(PD, 15) |
|
|
Connection to the on-board temperature/humidity sensor (Si7021).
|
#define | SI7021_I2C I2C_DEV(0) |
|
#define | SI7021_EN_PIN GPIO_PIN(PD, 9) |
|
#define | SI70XX_PARAM_I2C_DEV SI7021_I2C |
|