IIOEvent

class iio.IIOEvent

iio.IIOEvent class: Contains the representation of an iio_event.

Public Types

enum EventType

iio.IIOEvent.EventType class: Contains the available event types.

Values:

IIO_EV_TYPE_THRESH
IIO_EV_TYPE_MAG
IIO_EV_TYPE_ROC
IIO_EV_TYPE_THRESH_ADAPTIVE
IIO_EV_TYPE_MAG_ADAPTIVE
IIO_EV_TYPE_CHANGE
IIO_EV_TYPE_MAG_REFERENCED
IIO_EV_TYPE_GESTURE
IIO_EV_TYPE_FAULT
enum EventDirection

iio.IIOEvent.EventDirection class: Contains the available event directions.

Values:

IIO_EV_DIR_EITHER
IIO_EV_DIR_RISING
IIO_EV_DIR_FALLING
IIO_EV_DIR_NONE
IIO_EV_DIR_SINGLETAP
IIO_EV_DIR_DOUBLETAP
IIO_EV_DIR_FAULT_OPENWIRE

Public Members

readonly Channel chn
readonly Channel chn_diff
readonly ulong id
readonly long timestamp

Properties

EventType type { get; set; }

The type of this event.

EventDirection direction { get; set; }

Represents the direction of the event.