Uses of Class
com.diozero.api.SpiClockMode
Package | Description |
---|---|
com.diozero.api |
APIs for interfacing with the host board.
|
com.diozero.devices |
Classes representing actual devices such as LEDs, Buttons as well as GPIO,
devices that are connected via I2C, SPI and Serial interfaces.
|
com.diozero.internal.provider.builtin |
The built-in default provider supporting GPIO, I2C, SPI and Serial device
communication.
|
com.diozero.internal.provider.builtin.spi | |
com.diozero.internal.spi |
Service Provider Interface package.
|
-
Uses of SpiClockMode in com.diozero.api
Fields in com.diozero.api declared as SpiClockMode Modifier and Type Field Description static SpiClockMode
SpiConstants. DEFAULT_SPI_CLOCK_MODE
Methods in com.diozero.api that return SpiClockMode Modifier and Type Method 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.Methods in com.diozero.api with parameters of type SpiClockMode Modifier and Type Method Description SpiDevice.Builder
SpiDevice.Builder. setClockMode(SpiClockMode clockMode)
Set the SPIclock mode
Constructors in com.diozero.api with parameters of type SpiClockMode Constructor Description SpiDevice(int controller, int chipSelect, int frequency, SpiClockMode mode, boolean lsbFirst)
-
Uses of SpiClockMode in com.diozero.devices
Constructors in com.diozero.devices with parameters of type SpiClockMode Constructor Description BME280(int controller, int chipSelect, int frequency, SpiClockMode mode)
Creates an instance that uses SPI. -
Uses of SpiClockMode in com.diozero.internal.provider.builtin
Methods in com.diozero.internal.provider.builtin with parameters of type SpiClockMode Modifier and Type Method Description InternalSpiDeviceInterface
DefaultDeviceFactory. createSpiDevice(String key, int controller, int chipSelect, int frequency, SpiClockMode spiClockMode, boolean lsbFirst)
Constructors in com.diozero.internal.provider.builtin with parameters of type SpiClockMode Constructor Description DefaultNativeSpiDevice(DeviceFactoryInterface deviceFactory, String key, int controller, int chipSelect, int frequency, SpiClockMode spiClockMode, boolean lsbFirst)
-
Uses of SpiClockMode in com.diozero.internal.provider.builtin.spi
Constructors in com.diozero.internal.provider.builtin.spi with parameters of type SpiClockMode Constructor Description NativeSpiDevice(int controller, int chipSelect, int frequency, SpiClockMode mode, boolean lsbFirst)
-
Uses of SpiClockMode in com.diozero.internal.spi
Methods in com.diozero.internal.spi with parameters of type SpiClockMode Modifier and Type Method Description InternalSpiDeviceInterface
SpiDeviceFactoryInterface. createSpiDevice(String key, int controller, int chipSelect, int frequency, SpiClockMode spiClockMode, boolean lsbFirst)
default InternalSpiDeviceInterface
SpiDeviceFactoryInterface. provisionSpiDevice(int controller, int chipSelect, int frequency, SpiClockMode spiClockMode, boolean lsbFirst)