public class MCP23S17
extends com.diozero.internal.provider.mcp23xxx.MCP23x17
deviceStates, shutdown
Constructor and Description |
---|
MCP23S17(int address) |
MCP23S17(int address,
int interruptGpio) |
MCP23S17(int address,
int interruptGpioA,
int interruptGpioB) |
MCP23S17(int controller,
int chipSelect,
int address,
int interruptGpio) |
MCP23S17(int controller,
int chipSelect,
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 MCP23S17(int address) throws RuntimeIOException
RuntimeIOException
public MCP23S17(int address, int interruptGpio) throws RuntimeIOException
RuntimeIOException
public MCP23S17(int address, int interruptGpioA, int interruptGpioB) throws RuntimeIOException
RuntimeIOException
public MCP23S17(int controller, int chipSelect, int address, int interruptGpio) throws RuntimeIOException
RuntimeIOException
public MCP23S17(int controller, int chipSelect, 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.