Common pin definitions and board configuration options. More...
Common pin definitions and board configuration options.
Definition in file board.h.
Go to the source code of this file.
Macros for controlling the on-board LED (LD3). | |
#define | LED0_PIN GPIO_PIN(PORT_B, 3) |
#define | LED0_MASK (1 << 3) |
#define | LED0_ON (GPIOB->BSRR = LED0_MASK) |
#define | LED0_OFF (GPIOB->BSRR = (LED0_MASK << 16)) |
#define | LED0_TOGGLE (GPIOB->ODR ^= LED0_MASK) |