The OpenD Programming Language

gpioline_info_changed

Information about a change in status of a GPIO line

More...
version(linux)
extern (C)
struct gpioline_info_changed {
uint[5] padding;
}

Members

Variables

event_type
uint event_type;

one of GPIOLINE_CHANGED_REQUESTED, GPIOLINE_CHANGED_RELEASED

info
gpioline_info info;

updated line information

timestamp
ulong timestamp;

estimate of time of status change occurrence, in nanoseconds and GPIOLINE_CHANGED_CONFIG

Detailed Description

Note: struct gpioline_info embedded here has 32-bit alignment on its own, but it works fine with 64-bit alignment too. With its 72 byte size, we can guarantee there are no implicit holes between it and subsequent members. The 20-byte padding at the end makes sure we don't add any implicit padding at the end of the structure on 64-bit architectures.

Meta