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