BSP_PB_GetState() function
Returns the selected Button state.
Arguments
Button
Specifies the Button to be checked. This parameter should be: BUTTON_KEY
Return value
The Button GPIO pin value.
Examples
BSP_PB_GetState() is referenced by 16 libraries and example projects: