Core2 for AWS IoT EduKit BSP
1.5.1
Button (virtual)
Button_IsPress
uint8_t
Button_IsPress
(
Button_t
* button);
Button_IsPress
uint8_t Button_IsPress(Button_t *button)
See if the specified button is currently being pressed.
Definition:
button.c:68
Button_t
The member defintions of the virtual button data.
Definition:
button.h:28
See if the specified button is currently being pressed.
Parameters
[out]
button
The button to check if it is currently being pressed. Updates the value of the state definition.
Returns
A boolean if the button specified is currently being pressed. 0x00 for currently not being pressed, 0xff for is currently being pressed.
Generated by
1.9.3