Package com.diozero.internal.spi
Interface AnalogInputDeviceFactoryInterface
-
- All Superinterfaces:
AutoCloseable
,DeviceFactoryInterface
- All Known Subinterfaces:
NativeDeviceFactoryInterface
- All Known Implementing Classes:
Ads112C04
,Ads1x15
,BaseNativeDeviceFactory
,DefaultDeviceFactory
,McpAdc
,PCF8591
,PiconZero
public interface AnalogInputDeviceFactoryInterface extends DeviceFactoryInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AnalogInputDeviceInterface
createAnalogInputDevice(String key, PinInfo pinInfo)
float
getVRef()
default AnalogInputDeviceInterface
provisionAnalogInputDevice(PinInfo pinInfo)
-
Methods inherited from interface com.diozero.internal.spi.DeviceFactoryInterface
close, createI2CKey, createPinKey, createSerialKey, createSpiKey, deviceClosed, deviceOpened, getBoardPinInfo, getDevice, getName, isClosed, isDeviceOpened, reopen, start
-
-
-
-
Method Detail
-
provisionAnalogInputDevice
default AnalogInputDeviceInterface provisionAnalogInputDevice(PinInfo pinInfo) throws RuntimeIOException
- Throws:
RuntimeIOException
-
createAnalogInputDevice
AnalogInputDeviceInterface createAnalogInputDevice(String key, PinInfo pinInfo)
-
getVRef
float getVRef()
-
-