Package com.diozero.internal.spi
Interface NativeDeviceFactoryInterface
- All Superinterfaces:
AnalogInputDeviceFactoryInterface
,AnalogOutputDeviceFactoryInterface
,AutoCloseable
,Closeable
,DeviceFactoryInterface
,GpioDeviceFactoryInterface
,I2CDeviceFactoryInterface
,PwmOutputDeviceFactoryInterface
,SerialDeviceFactoryInterface
,SpiDeviceFactoryInterface
- All Known Implementing Classes:
BaseNativeDeviceFactory
,DefaultDeviceFactory
public interface NativeDeviceFactoryInterface extends GpioDeviceFactoryInterface, SpiDeviceFactoryInterface, I2CDeviceFactoryInterface, PwmOutputDeviceFactoryInterface, AnalogInputDeviceFactoryInterface, AnalogOutputDeviceFactoryInterface, SerialDeviceFactoryInterface
-
Field Summary
Fields inherited from interface com.diozero.internal.spi.I2CDeviceFactoryInterface
I2C_PREFIX
Fields inherited from interface com.diozero.internal.spi.SerialDeviceFactoryInterface
SERIAL_PREFIX
Fields inherited from interface com.diozero.internal.spi.SpiDeviceFactoryInterface
DEFAULT_SPI_BUFFER_SIZE, SPI_PREFIX
-
Method Summary
Modifier and Type Method Description BoardInfo
getBoardInfo()
static Stream<NativeDeviceFactoryInterface>
loadInstances()
void
registerDeviceFactory(DeviceFactoryInterface deviceFactory)
Methods inherited from interface com.diozero.internal.spi.AnalogInputDeviceFactoryInterface
createAnalogInputDevice, getVRef, provisionAnalogInputDevice
Methods inherited from interface com.diozero.internal.spi.AnalogOutputDeviceFactoryInterface
createAnalogOutputDevice, provisionAnalogOutputDevice
Methods inherited from interface com.diozero.internal.spi.DeviceFactoryInterface
close, createI2CKey, createPinKey, createSerialKey, createSpiKey, deviceClosed, deviceOpened, getBoardPinInfo, getDevice, getName, isClosed, isDeviceOpened, reopen, start
Methods inherited from interface com.diozero.internal.spi.GpioDeviceFactoryInterface
createDigitalInputDevice, createDigitalInputOutputDevice, createDigitalOutputDevice, provisionDigitalInputDevice, provisionDigitalInputOutputDevice, provisionDigitalOutputDevice
Methods inherited from interface com.diozero.internal.spi.I2CDeviceFactoryInterface
createI2CDevice, provisionI2CDevice
Methods inherited from interface com.diozero.internal.spi.PwmOutputDeviceFactoryInterface
createPwmOutputDevice, getBoardPwmFrequency, provisionPwmOutputDevice, setBoardPwmFrequency
Methods inherited from interface com.diozero.internal.spi.SerialDeviceFactoryInterface
createSerialDevice, provisionSerialDevice
Methods inherited from interface com.diozero.internal.spi.SpiDeviceFactoryInterface
createSpiDevice, getSpiBufferSize, provisionSpiDevice
-
Method Details
-
registerDeviceFactory
-
getBoardInfo
BoardInfo getBoardInfo() -
loadInstances
-