RpiSpi class

The Spi interface used for accessing SPI devices on the Raspberry Pi.

Inheritance

Constructors

RpiSpi()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allocateChipSelectPin(int controller, int chipSelectPin) int
Check that the pin can be used for chip select with the specified controller and return the chip select. Throw an exception if the pin has already been allocated or if the controller chip select combination is invalid. This should be called by subclasses not clients.
inherited
device(int controller, int chipSelectPin, int speed, int mode) SpiDevice
Return the SpiDevice for communicating with the device over the specified controller and chip select, with the given speed and mode.
override
dispose() → void
Call dispose before exiting your application to cleanup native resources.
override
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