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