Package com.diozero.internal.spi
Interface GpioDigitalDeviceInterface
-
- All Superinterfaces:
AutoCloseable
,DeviceInterface
,GpioDeviceInterface
,InternalDeviceInterface
- All Known Subinterfaces:
GpioDigitalInputDeviceInterface
,GpioDigitalInputOutputDeviceInterface
,GpioDigitalOutputDeviceInterface
- All Known Implementing Classes:
MCP23xxxDigitalInputDevice
,MCP23xxxDigitalInputOutputDevice
,MCP23xxxDigitalOutputDevice
,NativeGpioInputDevice
,NativeGpioInputOutputDevice
,NativeGpioOutputDevice
,PiconZero.PiconZeroDigitalInputDevice
,PiconZero.PiconZeroDigitalOutputDevice
,SysFsDigitalInputDevice
,SysFsDigitalInputOutputDevice
,SysFsDigitalOutputDevice
public interface GpioDigitalDeviceInterface extends GpioDeviceInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getValue()
-
Methods inherited from interface com.diozero.api.DeviceInterface
close
-
Methods inherited from interface com.diozero.internal.spi.GpioDeviceInterface
getGpio, getMode
-
Methods inherited from interface com.diozero.internal.spi.InternalDeviceInterface
getKey, isOpen
-
-
-
-
Method Detail
-
getValue
boolean getValue() throws RuntimeIOException
- Throws:
RuntimeIOException
-
-