| Package | Description |
|---|---|
| ioio.lib.api |
| Modifier and Type | Field and Description |
|---|---|
SpiMaster.Rate |
SpiMaster.Config.rate
Data rate.
|
| Modifier and Type | Method and Description |
|---|---|
static SpiMaster.Rate |
SpiMaster.Rate.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpiMaster.Rate[] |
SpiMaster.Rate.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
SpiMaster |
IOIO.openSpiMaster(int miso,
int mosi,
int clk,
int[] slaveSelect,
SpiMaster.Rate rate)
Shorthand for
IOIO.openSpiMaster(ioio.lib.api.DigitalInput.Spec, ioio.lib.api.DigitalOutput.Spec, ioio.lib.api.DigitalOutput.Spec, ioio.lib.api.DigitalOutput.Spec[], ioio.lib.api.SpiMaster.Config)
, where the pins are all open with the default modes and default
configuration values are used. |
SpiMaster |
IOIO.openSpiMaster(int miso,
int mosi,
int clk,
int slaveSelect,
SpiMaster.Rate rate)
Shorthand for
IOIO.openSpiMaster(ioio.lib.api.DigitalInput.Spec, ioio.lib.api.DigitalOutput.Spec, ioio.lib.api.DigitalOutput.Spec, ioio.lib.api.DigitalOutput.Spec[], ioio.lib.api.SpiMaster.Config)
, where the MISO pins is opened with pull up, and the other pins are open
with the default modes and default configuration values are used. |
| Constructor and Description |
|---|
SpiMaster.Config(SpiMaster.Rate rate)
Constructor with common defaults.
|
SpiMaster.Config(SpiMaster.Rate rate,
boolean invertClk,
boolean sampleOnTrailing)
Constructor.
|