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