feather-m0/include/board.h¶
Board specific configuration for the Adafruit Feather M0.
-
LED0_PIN
¶ 1
GPIO_PIN(PA, 17)
-
LED_PORT
¶ 1
PORT->Group[PA]
-
LED0_MASK
¶ 1
(1 << 17)
-
LED0_ON
¶ 1
(LED_PORT.OUTSET.reg = LED0_MASK)
-
LED0_OFF
¶ 1
(LED_PORT.OUTCLR.reg = LED0_MASK)
-
LED0_TOGGLE
¶ 1
(LED_PORT.OUTTGL.reg = LED0_MASK)
-
void
board_init
(void)¶ Initialize board specific hardware, including clock, LEDs and std-IO.