Package | Description |
---|---|
com.diozero.api |
Lower-level APIs for interfacing with devices.
|
com.diozero.internal.provider |
Service Provider Interface package.
|
com.diozero.internal.provider.sysfs |
Modifier and Type | Field and Description |
---|---|
static SpiClockMode |
SPIConstants.DEFAULT_SPI_CLOCK_MODE |
Modifier and Type | Method and Description |
---|---|
static SpiClockMode |
SpiClockMode.getByMode(int mode) |
static SpiClockMode |
SpiClockMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpiClockMode[] |
SpiClockMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
SpiDevice(int controller,
int chipSelect,
int frequency,
SpiClockMode mode,
boolean lsbFirst) |
Modifier and Type | Method and Description |
---|---|
protected abstract SpiDeviceInterface |
BaseNativeDeviceFactory.createSpiDevice(String key,
int controller,
int chipSelect,
int frequency,
SpiClockMode spiClockMode,
boolean lsbFirst) |
SpiDeviceInterface |
SpiDeviceFactoryInterface.provisionSpiDevice(int controller,
int chipSelect,
int frequency,
SpiClockMode spiClockMode,
boolean lsbFirst) |
SpiDeviceInterface |
BaseNativeDeviceFactory.provisionSpiDevice(int controller,
int chipSelect,
int frequency,
SpiClockMode spiClockMode,
boolean lsbFirst) |
Modifier and Type | Method and Description |
---|---|
SpiDeviceInterface |
SysFsDeviceFactory.createSpiDevice(String key,
int controller,
int chipSelect,
int frequency,
SpiClockMode spiClockMode,
boolean lsbFirst) |
Constructor and Description |
---|
NativeSpiDevice(int controller,
int chipSelect,
int speedHz,
SpiClockMode mode,
boolean lsbFirst) |
SysFsSpiDevice(DeviceFactoryInterface deviceFactory,
String key,
int controller,
int chipSelect,
int frequency,
SpiClockMode spiClockMode,
boolean lsbFirst) |
Copyright © 2016–2017 mattjlewis. All rights reserved.