public abstract class MCP23x17 extends MCP23xxx
Modifier and Type | Class and Description |
---|---|
static class |
MCP23x17.MCP23x17BoardPinInfo |
INTERRUPT_GPIO_NOT_SET
closed, deviceStates
Constructor and Description |
---|
MCP23x17(String deviceName) |
MCP23x17(String deviceName,
int interruptGpio) |
MCP23x17(String deviceName,
int interruptGpioA,
int interruptGpioB) |
Modifier and Type | Method and Description |
---|---|
BoardPinInfo |
getBoardPinInfo() |
protected int |
getDefValReg(int port) |
protected int |
getGPIntEnReg(int port) |
protected int |
getGPIOReg(int port) |
protected int |
getGPPullUpReg(int port) |
protected int |
getIntCapReg(int port) |
protected int |
getIntConReg(int port) |
protected int |
getIntFReg(int port) |
protected int |
getIOConReg(int port) |
protected int |
getIODirReg(int port) |
protected int |
getIPolReg(int port) |
protected int |
getOLatReg(int port) |
close, closeGpio, createDigitalInputDevice, createDigitalInputOutputDevice, createDigitalOutputDevice, createPwmOutputDevice, getBoardPwmFrequency, getName, getValue, getValues, initialise, readByte, setBoardPwmFrequency, setDirections, setInputMode, setOutputMode, setValue, setValues, valueChanged, writeByte
createPinKey, deviceClosed, deviceOpened, getDevice, isClosed, isDeviceOpened
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
provisionDigitalInputDevice, provisionDigitalInputOutputDevice, provisionDigitalOutputDevice
provisionPwmOutputDevice
createPinKey, deviceClosed, deviceOpened, isClosed, isDeviceOpened
public MCP23x17(String deviceName)
public MCP23x17(String deviceName, int interruptGpio)
public MCP23x17(String deviceName, int interruptGpioA, int interruptGpioB)
protected int getIODirReg(int port)
getIODirReg
in class MCP23xxx
protected int getIPolReg(int port)
getIPolReg
in class MCP23xxx
protected int getGPIntEnReg(int port)
getGPIntEnReg
in class MCP23xxx
protected int getDefValReg(int port)
getDefValReg
in class MCP23xxx
protected int getIntConReg(int port)
getIntConReg
in class MCP23xxx
protected int getIOConReg(int port)
getIOConReg
in class MCP23xxx
protected int getGPPullUpReg(int port)
getGPPullUpReg
in class MCP23xxx
protected int getIntFReg(int port)
getIntFReg
in class MCP23xxx
protected int getIntCapReg(int port)
getIntCapReg
in class MCP23xxx
protected int getGPIOReg(int port)
getGPIOReg
in class MCP23xxx
protected int getOLatReg(int port)
getOLatReg
in class MCP23xxx
public BoardPinInfo getBoardPinInfo()
Copyright © 2016–2017 mattjlewis. All rights reserved.