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