fermentord/vendor/github.com/warthog618/gpiod/uapi/eventdata_386.go
Søren Rasmussen 07a23c1845
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Upgrade to go 1.20 and add vendor catalog
2023-04-22 10:37:23 +02:00

22 lines
512 B
Go

/// SPDX-FileCopyrightText: 2020 Kent Gibson <warthog618@gmail.com>
//
// SPDX-License-Identifier: MIT
//go:build linux
// +build linux
// Package uapi provides the Linux GPIO UAPI definitions for gpiod.
package uapi
// EventData contains the details of a particular line event.
//
// This is returned via the event request fd in response to events.
type EventData struct {
// The time the event was detected.
Timestamp uint64
// The type of event detected.
ID EventFlag
// No pad required for i386.
}