Public Attributes | |
slave | |
name | |
![]() | |
banks | |
![]() | |
digitalChannelCount | |
digitalBanksCount | |
![]() | |
chip | |
mode | |
bits | |
speed | |
![]() | |
busName | |
device | |
flag | |
fd | |
Static Public Attributes | |
int | SLAVE = 0x20 |
int | WRITE = 0x00 |
int | READ = 0x01 |
![]() | |
int | IODIR = 0x00 |
int | IPOL = 0x01 |
int | GPINTEN = 0x02 |
int | DEFVAL = 0x03 |
int | INTCON = 0x04 |
int | IOCON = 0x05 |
int | GPPU = 0x06 |
int | INTF = 0x07 |
int | INTCAP = 0x08 |
int | GPIO = 0x09 |
int | OLAT = 0x0A |
![]() | |
int | IN = 0 |
int | OUT = 1 |
LOW = False | |
HIGH = True | |
Definition at line 112 of file mcp23XXX.py.
def webiopi.devices.digital.mcp23XXX.MCP23SXX.__init__ | ( | self, | |
chip, | |||
slave, | |||
channelCount, | |||
name | |||
) |
Definition at line 118 of file mcp23XXX.py.
References webiopi.utils.types.toint().
def webiopi.devices.digital.mcp23XXX.MCP23SXX.__str__ | ( | self | ) |
Definition at line 128 of file mcp23XXX.py.
References webiopi.devices.spi.SPI.chip, webiopi.devices.analog.mcp48XX.MCP48XX.name, webiopi.devices.analog.mcp3x0x.MCP3X0X.name, webiopi.devices.analog.ads1x1x.ADS1X1X.name, webiopi.devices.digital.mcp23XXX.MCP230XX.name, webiopi.devices.analog.mcp3424.MCP3424.name, webiopi.devices.digital.mcp23XXX.MCP23SXX.name, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
def webiopi.devices.digital.mcp23XXX.MCP23SXX.readRegister | ( | self, | |
addr | |||
) |
Definition at line 131 of file mcp23XXX.py.
References webiopi.devices.digital.mcp23XXX.MCP23SXX.READ, webiopi.devices.digital.mcp23XXX.MCP23SXX.slave, and webiopi.devices.spi.SPI.xfer().
Referenced by webiopi.devices.digital.mcp23XXX.MCP23XXX.__digitalRead__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__digitalWrite__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__getCurrent__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__getFrequency__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__getFunction__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__getLux__(), webiopi.devices.sensor.tslXXXX.TSL2561X.__getTime__(), webiopi.devices.sensor.tslXXXX.TSL4531.__getTime__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__portRead__(), webiopi.devices.clock.dsrtc.DS1307.__readMemoryByte__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__readProximityCounts__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__setCurrent__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__setFrequency__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__setFunction__(), webiopi.devices.clock.dsrtc.DS1307.__setSec__(), webiopi.devices.sensor.htu21d.HTU21D.get_resolutions(), webiopi.devices.sensor.tslXXXX.TSL2561X.getGain(), webiopi.devices.clock.dsrtc.DS1307.start(), and webiopi.devices.clock.dsrtc.DS1307.stop().
def webiopi.devices.digital.mcp23XXX.MCP23SXX.writeRegister | ( | self, | |
addr, | |||
value | |||
) |
Definition at line 135 of file mcp23XXX.py.
References webiopi.devices.digital.mcp23XXX.MCP23SXX.slave, webiopi.devices.digital.mcp23XXX.MCP23SXX.WRITE, and webiopi.devices.bus.Bus.writeBytes().
Referenced by webiopi.devices.digital.mcp23XXX.MCP23XXX.__digitalWrite__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__getLux__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__portWrite__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__readProximityCounts__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__setAmbientMeasuringMode__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__setCurrent__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__setFrequency__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__setFunction__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__setProximityTiming__(), webiopi.devices.clock.dsrtc.DS1307.__setSec__(), webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__sleep__(), webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__wake__(), webiopi.devices.clock.dsrtc.DS1307.__writeMemoryByte__(), webiopi.devices.sensor.bmp085.BMP085.readUP(), webiopi.devices.sensor.bmp085.BMP085.readUT(), webiopi.devices.analog.mcp3424.MCP3424.set_pga(), webiopi.devices.sensor.htu21d.HTU21D.set_resolution(), webiopi.devices.analog.mcp3424.MCP3424.setBitRate(), webiopi.devices.clock.dsrtc.DS1307.start(), and webiopi.devices.clock.dsrtc.DS1307.stop().
webiopi.devices.digital.mcp23XXX.MCP23SXX.name |
|
static |
Definition at line 116 of file mcp23XXX.py.
Referenced by webiopi.devices.digital.mcp23XXX.MCP23SXX.readRegister().
|
static |
Definition at line 113 of file mcp23XXX.py.
webiopi.devices.digital.mcp23XXX.MCP23SXX.slave |
Definition at line 121 of file mcp23XXX.py.
Referenced by webiopi.devices.sensor.tmpXXX.TMP102.__str__(), webiopi.devices.sensor.onewiretemp.OneWireTemp.__str__(), webiopi.devices.analog.mcp4725.MCP4725.__str__(), webiopi.devices.digital.ds2408.DS2408.__str__(), webiopi.devices.sensor.hytXXX.HYT221.__str__(), webiopi.devices.analog.pcf8591.PCF8591.__str__(), webiopi.devices.digital.pcf8574.PCF8574.__str__(), webiopi.devices.analog.pca9685.PCA9685.__str__(), webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__str__(), webiopi.devices.sensor.mcptmp.MCP9808.__str__(), webiopi.devices.analog.ads1x1x.ADS1X1X.__str__(), webiopi.devices.sensor.tmpXXX.TMP75.__str__(), webiopi.devices.onewire.OneWire.__str__(), webiopi.devices.i2c.I2C.__str__(), webiopi.devices.sensor.tmpXXX.TMP275.__str__(), webiopi.devices.sensor.htu21d.HTU21D.__str__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__str__(), webiopi.devices.digital.mcp23XXX.MCP230XX.__str__(), webiopi.devices.digital.mcp23XXX.MCP23SXX.__str__(), webiopi.devices.onewire.OneWire.read(), webiopi.devices.digital.ds2408.DS2408.readByte(), webiopi.devices.sensor.hytXXX.HYT221.readRawData(), webiopi.devices.digital.mcp23XXX.MCP23SXX.readRegister(), webiopi.devices.digital.ds2408.DS2408.readState(), webiopi.devices.digital.ds2408.DS2408.writeByte(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.writeRegister().
|
static |
Definition at line 115 of file mcp23XXX.py.
Referenced by webiopi.devices.digital.mcp23XXX.MCP23SXX.writeRegister().