Shared code for Arduino Due based boards. More...
Shared code for Arduino Due based boards.
|Board specific configuration for the Arduino API. |
|Mapping from MCU pins to Arduino pins. |
|Board specific definitions for the Arduino Due based boards. |
|Peripheral MCU configuration for Arduino Due based boards. |
|Initialize board specific hardware, including clock, LEDs and std-IO. |
|#define||LED0_PIN GPIO_PIN(PB, 27)|
|#define||LED0_ON (PIOB->PIO_SODR = PIO_PB27)|
|#define||LED0_OFF (PIOB->PIO_CODR = PIO_PB27)|
|#define||LED0_TOGGLE ((PIOB->PIO_ODSR & PIO_PB27) ? LED0_OFF : LED0_ON)|