Board specific definitions for the STM32F429I-DISC1 evaluation board. More...
Board specific definitions for the STM32F429I-DISC1 evaluation board.
Definition in file board.h.
Go to the source code of this file.
Functions | |
void | board_init (void) |
Initialize board specific hardware, including clock, LEDs and std-IO. | |
Macros for controlling the on-board LEDs. | |
#define | LED0_PIN GPIO_PIN(PORT_G, 13) |
#define | LED1_PIN GPIO_PIN(PORT_G, 14) |
#define | LED0_MASK (1 << 13) |
#define | LED1_MASK (1 << 14) |
#define | LED0_ON (GPIOG->BSRR = LED0_MASK) |
#define | LED0_OFF (GPIOG->BSRR = (LED0_MASK << 16)) |
#define | LED0_TOGGLE (GPIOG->ODR ^= LED0_MASK) |
#define | LED1_ON (GPIOG->BSRR = LED1_MASK) |
#define | LED1_OFF (GPIOG->BSRR = (LED1_MASK << 16)) |
#define | LED1_TOGGLE (GPIOG->ODR ^= LED1_MASK) |
#define | BTN0_PIN GPIO_PIN(PORT_A, 0) |
User button. | |
#define | BTN0_MODE GPIO_IN |