public class MCP23S17 extends MCP23x17
MCP23x17.MCP23x17BoardPinInfo
INTERRUPT_GPIO_NOT_SET
closed, deviceStates
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, createPwmOutputDevice, getBoardPwmFrequency, getName, getValue, getValues, initialise, setBoardPwmFrequency, setDirections, setInputMode, setOutputMode, setValue, setValues, valueChanged
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 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 DeviceFactoryInterface
close
in interface Closeable
close
in interface AutoCloseable
close
in class MCP23xxx
RuntimeIOException
Copyright © 2016–2017 mattjlewis. All rights reserved.