Module gpio

Source

Structs§

MonitoringEvent
Represents an edge detected on the GPIO pin.
MonitoringReadResponse
MonitoringStartResponse

Enums§

BitbangEntry
Represents one entry in the specification of a bitbanging waveform. Pins must have been configured as either PushPull, OpenDrain or Input prior to requesting a bitbang operation.
ClockNature
DacBangEntry
Edge
GpioError
Errors related to the GPIO interface.
PinMode
Mode of I/O pins.
PullMode
Mode of weak pull (relevant in Input and OpenDrain modes).

Traits§

GpioBitbangOperation
Object representing an ongoing operation of generating a prescribed waveform on a number of pins. Must be frequently polled via the query() function, in order to guerantee completion of the operation.
GpioBitbanging
A trait implemented by transports which support synchronous bit-banging on GPIO pins, similar to FTDI devices. This trait allows generation of arbitrary waveforms on a set of pins, and optionally getting back samples from same or other pins, taken at precise times.
GpioDacBangOperation
GpioMonitoring
A trait implemented by transports which support advanced edge-detection on GPIO pins. This trait allows monitoring a set of pins, and getting a stream of “events” (rising and falling edges with timestamps) for any change among the set.
GpioPin
A trait which represents a single GPIO pin.