common/arduino-due/include/board.h¶
Board specific definitions for the Arduino Due based boards.
-
LED0_PIN¶ 1
GPIO_PIN(PB, 27)
-
LED0_ON¶ 1
(PIOB->PIO_SODR = PIO_PB27)
-
LED0_OFF¶ 1
(PIOB->PIO_CODR = PIO_PB27)
-
LED0_TOGGLE¶ 1
((PIOB->PIO_ODSR & PIO_PB27) ? LED0_OFF : LED0_ON)
-
void
board_init(void)¶ Initialize board specific hardware, including clock, LEDs and std-IO.