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 @arg BUTTON_TAMPER: Tamper Push Button
Return value
The Button GPIO pin value
Examples
BSP_PB_GetState() is referenced by 11 libraries and example projects: