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.
BSP_PB_GetState() calls 1 function:
![]()
BSP_PB_GetState()
BSP_PB_GetState() reads 2 variables:
![]()
BSP_PB_GetState()