slwstk6220a/include/board.h¶
Board specific definitions for the WSTK6220 evaluation kit.
-
HW_TIMER
¶ Assign the hardware timer.
1
TIMER_DEV(0)
-
SI7021_I2C
¶ 1
(I2C_0)
-
SI7021_ADDR
¶ 1
(0) /* TODO */
-
SI7021_EN_PIN
¶ 1
GPIO_PIN(PF,8)
-
PB0_PIN
¶ 1
GPIO_PIN(PE,3)
-
PB1_PIN
¶ 1
GPIO_PIN(PE,2)
-
LED0_PIN
¶ 1
GPIO_PIN(PF, 6)
-
LED1_PIN
¶ 1
GPIO_PIN(PF, 7)
-
LED0_ON
¶ 1
gpio_set(LED0_PIN)
-
LED0_OFF
¶ 1
gpio_clear(LED0_PIN)
-
LED0_TOGGLE
¶ 1
gpio_toggle(LED0_PIN)
-
LED1_ON
¶ 1
gpio_set(LED1_PIN)
-
LED1_OFF
¶ 1
gpio_clear(LED1_PIN)
-
LED1_TOGGLE
¶ 1
gpio_toggle(LED1_PIN)
-
BC_PIN
¶ GPIO pin for enabling communication through the board controller.
1
GPIO_PIN(PA,12)
-
void
board_init
(void)¶ Initialize board specific hardware, including clock, LEDs and std-IO.