Silicon Labs WSTK6220 Eval Kit

Support for the Silicon Labs WSTK6220 evaluation kit. More...

Detailed Description

Support for the Silicon Labs WSTK6220 evaluation kit.

Files

file  slwstk6220a/include/board.h
 Board specific definitions for the WSTK6220 evaluation kit.
 
file  boards/slwstk6220a/include/periph_conf.h
 Configuration of CPU peripherals for the WSTK6220 board.
 

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.
 

Functions

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

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)