public class MCP23008
extends com.diozero.internal.provider.mcp23xxx.MCP23x08
deviceStates, shutdown
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, getName, getValue, getValues, initialise, setDirections, setInputMode, setOutputMode, setValue, setValues, valueChanged
createPinKey, deviceClosed, deviceOpened, getDevice, isDeviceOpened, isShutdown, shutdown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
provisionDigitalInputDevice, provisionDigitalInputOutputDevice, provisionDigitalOutputDevice
createPinKey, deviceClosed, deviceOpened, isDeviceOpened, isShutdown, shutdown
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 Closeable
close
in interface AutoCloseable
close
in class com.diozero.internal.provider.mcp23xxx.MCP23xxx
RuntimeIOException
protected byte readByte(int register)
readByte
in class com.diozero.internal.provider.mcp23xxx.MCP23xxx
protected void writeByte(int register, byte value)
writeByte
in class com.diozero.internal.provider.mcp23xxx.MCP23xxx
Copyright © 2016–2017 mattjlewis. All rights reserved.