stm32f429i-disc1/include/board.h

Board specific definitions for the STM32F429I-DISC1 evaluation board.

LED0_PIN
1
GPIO_PIN(PORT_G, 13)
LED1_PIN
1
GPIO_PIN(PORT_G, 14)
LED0_MASK
1
(1 << 13)
LED1_MASK
1
(1 << 14)
LED0_ON
1
(GPIOG->BSRR = LED0_MASK)
LED0_OFF
1
(GPIOG->BSRR = (LED0_MASK << 16))
LED0_TOGGLE
1
(GPIOG->ODR  ^= LED0_MASK)
LED1_ON
1
(GPIOG->BSRR = LED1_MASK)
LED1_OFF
1
(GPIOG->BSRR = (LED1_MASK << 16))
LED1_TOGGLE
1
(GPIOG->ODR  ^= LED1_MASK)
BTN0_PIN

User button.

1
GPIO_PIN(PORT_A, 0)
BTN0_MODE
1
GPIO_IN
void board_init(void)

Initialize board specific hardware, including clock, LEDs and std-IO.