Package com.diozero.internal.spi
Interface GpioDigitalOutputDeviceInterface
-
- All Superinterfaces:
AutoCloseable
,DeviceInterface
,GpioDeviceInterface
,GpioDigitalDeviceInterface
,InternalDeviceInterface
- All Known Subinterfaces:
GpioDigitalInputOutputDeviceInterface
- All Known Implementing Classes:
MCP23xxxDigitalInputOutputDevice
,MCP23xxxDigitalOutputDevice
,NativeGpioInputOutputDevice
,NativeGpioOutputDevice
,PiconZero.PiconZeroDigitalOutputDevice
,SysFsDigitalInputOutputDevice
,SysFsDigitalOutputDevice
public interface GpioDigitalOutputDeviceInterface extends GpioDigitalDeviceInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeviceMode
getMode()
void
setValue(boolean value)
-
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.InternalDeviceInterface
getKey, isOpen
-
-
-
-
Method Detail
-
setValue
void setValue(boolean value) throws RuntimeIOException
- Throws:
RuntimeIOException
-
getMode
default DeviceMode getMode()
- Specified by:
getMode
in interfaceGpioDeviceInterface
-
-