Board specific definitions for the Microchip SAM 4S Xplained Pro board. More...
Board specific definitions for the Microchip SAM 4S Xplained Pro board.
Definition in file board.h.
Go to the source code of this file.
ztimer configuration | |
#define | CONFIG_ZTIMER_USEC_WIDTH (16) |
LED pin definitions and handlers | |
#define | LED0_PIN GPIO_PIN(PC, 23) |
#define | LED0_ON (PIOC->PIO_CODR = PIO_PC23) |
#define | LED0_OFF (PIOC->PIO_SODR = PIO_PC23) |
#define | LED0_TOGGLE ((PIOC->PIO_ODSR & PIO_PC23) ? LED0_ON : LED0_OFF) |
SW0 (Button) pin definitions | |
#define | BTN0_PIN GPIO_PIN(PA, 2) |
#define | BTN0_MODE GPIO_IN_PU |