STRUCT GPIOEVENT_DATA(9)
πΈ NAME πΈ
okay so this is the struct gpioevent_data(9) page from the Kernel API Manual, and the whole point is: struct gpioevent_data β The actual event being pushed to userspace. That's her job, bestie. π
β¨ SYNOPSIS β¨
struct gpioevent_data {
__u64 timestamp;
__u32 id;
};
π«Ά Members π«Ά
timestampβ best estimate of time of event occurrence, in nanoseconds. Literally the when of it all. β±οΈidβ event identifier, one ofGPIOEVENT_EVENT_RISING_EDGEorGPIOEVENT_EVENT_FALLING_EDGE. So you know which edge showed up. π¦
πΈ Note πΈ
β οΈ bestie, major heads-up: this struct is part of ABI v1 and is deprecated. Use ABI v2 and struct gpio_v2_line_event instead. Like, respectfully, move on. π
π₯ SEE ALSO π₯
Kernel file ./include/uapi/linux/gpio.h β the source, the lore, the blueprint.
struct gpiochip_info(9)enum gpio_v2_line_flag(9)struct gpio_v2_line_values(9)enum gpio_v2_line_attr_id(9)struct gpio_v2_line_attribute(9)struct gpio_v2_line_config_attribute(9)struct gpio_v2_line_config(9)struct gpio_v2_line_request(9)struct gpio_v2_line_info(9)enum gpio_v2_line_changed_type(9)struct gpio_v2_line_info_changed(9)enum gpio_v2_line_event_id(9)struct gpio_v2_line_event(9)struct gpioline_info(9)struct gpioline_info_changed(9)struct gpiohandle_request(9)struct gpiohandle_config(9)struct gpiohandle_data(9)struct gpioevent_request(9)
mwah π β source/version: ./include/uapi/linux; date: October 2026; page: struct gpioevent_data(9). periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms