Core2 for AWS IoT EduKit BSP 1.5.1
Button_IsRelease
uint8_t Button_IsRelease(Button_t* button);
uint8_t Button_IsRelease(Button_t *button)
See if the specified button press is currently released.
Definition: button.c:75
The member defintions of the virtual button data.
Definition: button.h:28

See if the specified button press is currently released.

Parameters
[out]buttonThe button to check if it is currently released.
Returns
A boolean if the button specified is currently released. 0x00 for currently not released, 0xff for is currently released.