device/valio/button.h header reference
[Valio device attributes module]

The source code of this header can be browsed online.

Description  

Value IO interface for a button

Members  

Types  

Members detail  

#define LIBDEVICE_VALIO_BUTTON_H_  

This macro is declared in device/valio/button.h source file, line 27.

enum valio_button_att  

This enum is declared in device/valio/button.h source file, line 37.

IdentifierDescription
VALIO_BUTTON_TOGGLEThis attribute is used only for DEVICE_VALIO_WAIT_EVENT request type. When used, the request callback will be called when button is toggled, pushed or released. Request must returns the time since last event on button in the timestamp field of data. If no measure of time is possible in driver 0 must be returned.
VALIO_BUTTON_PUSH
VALIO_BUTTON_RELEASE

struct valio_button_read_s  

This struct is declared in device/valio/button.h source file, line 57.

FieldDescription
bool_t state;

enum valio_button_state  

This enum is declared in device/valio/button.h source file, line 32.

IdentifierDescription
VALIO_BUTTON_PUSHED
VALIO_BUTTON_RELEASED

struct valio_button_update_s  

This struct is declared in device/valio/button.h source file, line 51.

FieldDescription
uint16_t timestamp;

Valid XHTML 1.0 StrictGenerated by diaxen on Wed Oct 17 21:18:38 2018 using MkDoc