public class MCP23008 extends MCP23x08
MCP23x08.MCP23x08BoardPinInfo
INTERRUPT_GPIO_NOT_SET
closed, deviceStates
Constructor and Description |
---|
MCP23008() |
MCP23008(int interruptGpio) |
MCP23008(int interruptGpioA,
int interruptGpioB) |
MCP23008(int controller,
int address,
int interruptGpio) |
MCP23008(int controller,
int address,
int interruptGpioA,
int interruptGpioB) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected byte |
readByte(int register) |
protected void |
writeByte(int register,
byte value) |
getBoardPinInfo, getDefValReg, getGPIntEnReg, getGPIOReg, getGPPullUpReg, getIntCapReg, getIntConReg, getIntFReg, getIOConReg, getIODirReg, getIPolReg, getOLatReg
closeGpio, createDigitalInputDevice, createDigitalInputOutputDevice, createDigitalOutputDevice, createPwmOutputDevice, getBoardPwmFrequency, getName, getValue, getValues, initialise, setBoardPwmFrequency, setDirections, setInputMode, setOutputMode, setValue, setValues, valueChanged
createI2CKey, createPinKey, createSpiKey, deviceClosed, deviceOpened, getDevice, getDevice, isClosed, isDeviceOpened
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
provisionDigitalInputDevice, provisionDigitalInputOutputDevice, provisionDigitalOutputDevice
provisionPwmOutputDevice
createI2CKey, createPinKey, createSpiKey, deviceClosed, deviceOpened, getDevice, getDevice, isClosed, isDeviceOpened
public MCP23008() throws RuntimeIOException
RuntimeIOException
public MCP23008(int interruptGpio) throws RuntimeIOException
RuntimeIOException
public MCP23008(int interruptGpioA, int interruptGpioB) throws RuntimeIOException
RuntimeIOException
public MCP23008(int controller, int address, int interruptGpio) throws RuntimeIOException
RuntimeIOException
public MCP23008(int controller, int address, int interruptGpioA, int interruptGpioB) throws RuntimeIOException
RuntimeIOException
public void close() throws RuntimeIOException
close
in interface GpioExpander
close
in interface DeviceFactoryInterface
close
in interface Closeable
close
in interface AutoCloseable
close
in class MCP23xxx
RuntimeIOException
Copyright © 2016–2018 mattjlewis. All rights reserved.