#include "compiler.h"
Functions | |
bool | b_pushb1_get_value (char *buf) |
Get a pushbutton current state. More... | |
bool | b_pushb2_get_value (char *buf) |
Get a pushbutton current state. More... | |
bool | b_pushb3_get_value (char *buf) |
Get a pushbutton current state. More... | |
bool b_pushb1_get_value | ( | char * | buf | ) |
Get a pushbutton current state.
buf | char buffer in which the push button state is stored. |
References acpc_pushb_events, b_pushb1, gpio_get_pin_value(), PB1_POSITION, PUSHB_EVENT_PRESS, and PUSHB_EVENT_RELEASE.
Referenced by device_full_custom_task().
bool b_pushb2_get_value | ( | char * | buf | ) |
Get a pushbutton current state.
buf | char buffer in which the push button state is stored. |
References acpc_pushb_events, b_pushb2, gpio_get_pin_value(), PB2_POSITION, PUSHB_EVENT_PRESS, and PUSHB_EVENT_RELEASE.
Referenced by device_full_custom_task().
bool b_pushb3_get_value | ( | char * | buf | ) |
Get a pushbutton current state.
buf | char buffer in which the push button state is stored. |