Package com.diozero.internal.spi
Interface GpioDigitalInputOutputDeviceInterface
-
- All Superinterfaces:
AutoCloseable
,DeviceInterface
,GpioDeviceInterface
,GpioDigitalDeviceInterface
,GpioDigitalOutputDeviceInterface
,InternalDeviceInterface
- All Known Implementing Classes:
MCP23xxxDigitalInputOutputDevice
,NativeGpioInputOutputDevice
,SysFsDigitalInputOutputDevice
public interface GpioDigitalInputOutputDeviceInterface extends GpioDigitalOutputDeviceInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
removeListener()
void
setListener(DeviceEventConsumer<DigitalInputEvent> listener)
void
setMode(DeviceMode mode)
-
Methods inherited from interface com.diozero.api.DeviceInterface
close
-
Methods inherited from interface com.diozero.internal.spi.GpioDeviceInterface
getGpio
-
Methods inherited from interface com.diozero.internal.spi.GpioDigitalDeviceInterface
getValue
-
Methods inherited from interface com.diozero.internal.spi.GpioDigitalOutputDeviceInterface
getMode, setValue
-
Methods inherited from interface com.diozero.internal.spi.InternalDeviceInterface
getKey, isChild, isOpen, setChild
-
-
-
-
Method Detail
-
setMode
void setMode(DeviceMode mode)
-
setListener
void setListener(DeviceEventConsumer<DigitalInputEvent> listener)
-
removeListener
void removeListener()
-
-