Class MCP23x08

All Implemented Interfaces:
DeviceEventConsumer<DigitalInputEvent>, GpioExpander, DeviceFactoryInterface, GpioDeviceFactoryInterface, PwmOutputDeviceFactoryInterface, Closeable, AutoCloseable, Consumer<DigitalInputEvent>
Direct Known Subclasses:
MCP23008

public abstract class MCP23x08
extends MCP23xxx
  • Constructor Details

    • MCP23x08

      public MCP23x08​(String deviceName)
    • MCP23x08

      public MCP23x08​(String deviceName, int interruptGpio)
    • MCP23x08

      public MCP23x08​(String deviceName, int interruptGpioA, int interruptGpioB)
  • Method Details

    • getIODirReg

      protected int getIODirReg​(int port)
      Specified by:
      getIODirReg in class MCP23xxx
    • getIPolReg

      protected int getIPolReg​(int port)
      Specified by:
      getIPolReg in class MCP23xxx
    • getGPIntEnReg

      protected int getGPIntEnReg​(int port)
      Specified by:
      getGPIntEnReg in class MCP23xxx
    • getDefValReg

      protected int getDefValReg​(int port)
      Specified by:
      getDefValReg in class MCP23xxx
    • getIntConReg

      protected int getIntConReg​(int port)
      Specified by:
      getIntConReg in class MCP23xxx
    • getIOConReg

      protected int getIOConReg​(int port)
      Specified by:
      getIOConReg in class MCP23xxx
    • getGPPullUpReg

      protected int getGPPullUpReg​(int port)
      Specified by:
      getGPPullUpReg in class MCP23xxx
    • getIntFReg

      protected int getIntFReg​(int port)
      Specified by:
      getIntFReg in class MCP23xxx
    • getIntCapReg

      protected int getIntCapReg​(int port)
      Specified by:
      getIntCapReg in class MCP23xxx
    • getGPIOReg

      protected int getGPIOReg​(int port)
      Specified by:
      getGPIOReg in class MCP23xxx
    • getOLatReg

      protected int getOLatReg​(int port)
      Specified by:
      getOLatReg in class MCP23xxx
    • getBoardPinInfo

      public BoardPinInfo getBoardPinInfo()
      Description copied from interface: DeviceFactoryInterface
      Get information about pins that can be provisioned by this device factory.
      Returns: