gpiohandle_request class
struct gpiohandle_request - Information about a GPIO handle request @lineoffsets: an array of desired lines, specified by offset index for the associated GPIO device @flags: desired flags for the desired GPIO lines, such as %GPIOHANDLE_REQUEST_OUTPUT, %GPIOHANDLE_REQUEST_ACTIVE_LOW etc, added together. Note that even if multiple lines are requested, the same flags must be applicable to all of them, if you want lines with individual flags set, request them one by one. It is possible to select a batch of input or output lines, but they must all have the same characteristics, i.e. all inputs or all outputs, all active low etc @default_values: if the %GPIOHANDLE_REQUEST_OUTPUT is set for a requested line, this specifies the default output value, should be 0 (low) or 1 (high), anything else than 0 or 1 will be interpreted as 1 (high) @consumer_label: a desired consumer label for the selected GPIO line(s) such as "my-bitbanged-relay" @lines: number of lines requested in this request, i.e. the number of valid fields in the above arrays, set to 1 to request a single line @fd: if successful this field will contain a valid anonymous file handle after a %GPIO_GET_LINEHANDLE_IOCTL operation, zero or negative value means error
Note: This struct is part of ABI v1 and is deprecated. Use &struct gpio_v2_line_request instead.
- Inheritance
-
- Object
- NativeType
- Struct
- gpiohandle_request
Constructors
Properties
-
consumer_label
↔ Array<
Char> -
getter/setter pair
-
default_values
↔ Array<
Uint8> -
getter/setter pair
- fd ↔ int
-
getter/setter pair
- flags ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lineoffsets
↔ Array<
Uint32> -
getter/setter pair
- lines ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited