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
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 Details
-
setValue
- Throws:
RuntimeIOException
-
getMode
- Specified by:
getMode
in interfaceGpioDeviceInterface
-