io.gpiod1.Request
Description
Represents a set of requested GPIO lines.
Properties
io.gpiod1.Request:ChipPath
ChipPath readable o
DBus object path pointing to the chip exposing the lines held by this request.
io.gpiod1.Request:LinePaths
LinePaths readable ao
Array of DBus object paths pointing to the lines held by this request.
Methods
io.gpiod1.Request.Release
Release ()
Release the requested lines. After this method returns, the request object on which it was called will be destroyed.
io.gpiod1.Request.ReconfigureLines
ReconfigureLines (
IN line_config (a(aua{sv})ai)
)
Change the configuration of lines held by this request object without releasing them.
Refer to the RequestLines method of the io.gpiod1.Chip interface for details on line configuration.
- line_config
Line configuration.
io.gpiod1.Request.GetValues
GetValues (
IN offsets au,
OUT values ai
)
Read the values for a set of lines held by the request.
- offsets
Array of line offsets within the request to read values for.
- values
Array of values in the order lines were specified in
offsets.
io.gpiod1.Request.SetValues
SetValues (
IN values a{ui}
)
Set the values for a set of lines held by the request.
- values
Array of mappings from line offsets to desired output values.