Package com.diozero.internal.spi
Interface InternalDeviceInterface
- All Superinterfaces:
AutoCloseable
,DeviceInterface
- All Known Subinterfaces:
AnalogInputDeviceInterface
,AnalogOutputDeviceInterface
,GpioDeviceInterface
,GpioDigitalDeviceInterface
,GpioDigitalInputDeviceInterface
,GpioDigitalInputOutputDeviceInterface
,GpioDigitalOutputDeviceInterface
,InternalI2CDeviceInterface
,InternalSerialDeviceInterface
,InternalSpiDeviceInterface
,PwmOutputDeviceInterface
- All Known Implementing Classes:
AbstractDevice
,AbstractInputDevice
,DefaultNativeSerialDevice
,DefaultNativeSpiDevice
,MCP23xxxDigitalInputDevice
,MCP23xxxDigitalInputOutputDevice
,MCP23xxxDigitalOutputDevice
,NativeGpioInputDevice
,NativeGpioInputOutputDevice
,NativeGpioOutputDevice
,NativeI2CDeviceJavaRaf
,NativeI2CDeviceSMBus
,OdroidC2SysFsPwmOutputDevice
,PiconZero.PiconZeroAnalogInputDevice
,PiconZero.PiconZeroAnalogOutputDevice
,PiconZero.PiconZeroDigitalInputDevice
,PiconZero.PiconZeroDigitalOutputDevice
,PiconZero.PiconZeroPwmOutputDevice
,SoftwarePwmOutputDevice
,SysFsAnalogInputDevice
,SysFsDigitalInputDevice
,SysFsDigitalInputOutputDevice
,SysFsDigitalOutputDevice
,SysFsPwmOutputDevice
public interface InternalDeviceInterface extends DeviceInterface
Fundamental interface for all low-level device types.
-
Method Summary
Methods inherited from interface com.diozero.api.DeviceInterface
close
-
Method Details
-
getKey
String getKey()Get the unique device identifier for this device- Returns:
- unique device identifier
-
isOpen
boolean isOpen()Check if this device is open or closed- Returns:
- true if this device is open
-