Board specific definitions for the GD32VF103C-START board. More...
Board specific definitions for the GD32VF103C-START board.
Definition in file board.h.
Go to the source code of this file.
Button pin definitions | |
#define | BTN0_PIN GPIO_PIN(PORT_A, 0) |
#define | BTN0_MODE GPIO_IN_PU |
#define | BTN0_INT_FLANK GPIO_FALLING |
LED (on-board) configuration | |
#define | LED0_PIN GPIO_PIN(PORT_A, 7) |
#define | LED0_MASK (1 << 7) |
#define | LED0_ON (GPIOA->BC = LED0_MASK) |
#define | LED0_OFF (GPIOA->BOP = LED0_MASK) |
#define | LED0_TOGGLE (GPIOA->OCTL ^= LED0_MASK) |