Spi class abstract
Base SPI interface supported by all SPI implementations.
Resources
- Implementers
Constructors
- Spi()
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.
-
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
andmode
. -
dispose(
) → void - Call dispose before exiting your application to cleanup native resources.
-
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