slwstk6220a/include/board.h File Reference

Board specific definitions for the WSTK6220 evaluation kit. More...

Detailed Description

#include "cpu.h"
#include "periph_conf.h"
#include "periph_cpu.h"
#include "periph/gpio.h"
+ Include dependency graph for slwstk6220a/include/board.h:

Go to the source code of this file.

Macros

#define HW_TIMER   TIMER_DEV(0)
 Assign the hardware timer.
 
#define BC_PIN   GPIO_PIN(PA,12)
 GPIO pin for enabling communication through the board controller.
 
Connection to the on-board temperature/humidity sensor (Si7021)
#define SI7021_I2C   (I2C_0)
 
#define SI7021_ADDR   (0) /* TODO */
 
#define SI7021_EN_PIN   GPIO_PIN(PF,8)
 
User button pin definitions
#define PB0_PIN   GPIO_PIN(PE,3)
 
#define PB1_PIN   GPIO_PIN(PE,2)
 
LED pin definitions
#define LED0_PIN   GPIO_PIN(PF, 6)
 
#define LED1_PIN   GPIO_PIN(PF, 7)
 
#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)
 

Functions

void board_init (void)
 Initialize board specific hardware, including clock, LEDs and std-IO.