maple-mini/include/board.h¶
Board specific definitions for the maple-mini board.
-
XTIMER_WIDTH¶ 1
(16)
-
XTIMER_BACKOFF¶ 1
5
-
LED0_PIN¶ 1
GPIO_PIN(PORT_B, 1)
-
LED_PORT¶ 1
GPIOB
-
LED0_MASK¶ 1
(1 << 1)
-
LED0_ON¶ 1
(LED_PORT->BSRR = LED0_MASK)
-
LED0_OFF¶ 1
(LED_PORT->BRR = LED0_MASK)
-
LED0_TOGGLE¶ 1
(LED_PORT->ODR ^= LED0_MASK)
-
BTN0_PIN¶ 1
GPIO_PIN(PORT_B, 8)
-
BTN0_MODE¶ 1
GPIO_IN
-
STDIO_UART_DEV¶ Use the USART1 for STDIO on this board.
1
UART_DEV(1)
-
void
board_init(void)¶ Initialize board specific hardware, including clock, LEDs and std-IO.