BSP_PB_GetState() function
Returns the selected button state.
Arguments
Button
Button to be checked This parameter can be one of the following values: @arg BUTTON_WAKEUP: Wakeup Push Button
Return value
The Button GPIO pin value (GPIO_PIN_RESET = button pressed)
Notes
On STM32412G-DISCOVERY board, the Wakeup button is mapped on the same push button which is the joystick selection button.
Examples
BSP_PB_GetState() is referenced by 13 libraries and example projects: