Public Member Functions | |
| def | __init__ |
| def | getAddress |
| def | getChannel |
| def | __digitalRead__ |
| def | __digitalWrite__ |
| def | __getFunction__ |
| def | __setFunction__ |
| def | __portRead__ |
| def | __portWrite__ |
Public Member Functions inherited from webiopi.devices.digital.GPIOPort | |
| def | __init__ |
| def | checkDigitalChannel |
| def | checkDigitalValue |
| def | checkDigitalBanks |
| def | digitalCount |
| def | bankCount |
| def | __family__ |
| def | __getFunction__ |
| def | __setFunction__ |
| def | __digitalRead__ |
| def | __portRead__ |
| def | __digitalWrite__ |
| def | __portWrite__ |
| def | getFunction |
| def | getFunctionString |
| def | setFunction |
| def | setFunctionString |
| def | digitalRead |
| def | wildcard |
| def | portRead |
| def | digitalWrite |
| def | portWrite |
Public Attributes | |
| banks | |
Public Attributes inherited from webiopi.devices.digital.GPIOPort | |
| digitalChannelCount | |
| digitalBanksCount | |
Static Public Attributes | |
| 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 |
Static Public Attributes inherited from webiopi.devices.digital.GPIOPort | |
| int | IN = 0 |
| int | OUT = 1 |
| LOW = False | |
| HIGH = True | |
Definition at line 20 of file mcp23XXX.py.
| def webiopi.devices.digital.mcp23XXX.MCP23XXX.__init__ | ( | self, | |
| channelCount | |||
| ) |
Definition at line 33 of file mcp23XXX.py.
| def webiopi.devices.digital.mcp23XXX.MCP23XXX.__digitalRead__ | ( | self, | |
| channel | |||
| ) |
Definition at line 46 of file mcp23XXX.py.
References webiopi.devices.digital.mcp23XXX.MCP23XXX.getChannel(), webiopi.devices.digital.mcp23XXX.MCP23XXX.GPIO, webiopi.devices.i2c.I2C.readRegister(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.readRegister().
| def webiopi.devices.digital.mcp23XXX.MCP23XXX.__digitalWrite__ | ( | self, | |
| channel, | |||
| value | |||
| ) |
Definition at line 51 of file mcp23XXX.py.
References webiopi.devices.digital.mcp23XXX.MCP23XXX.getChannel(), webiopi.devices.digital.mcp23XXX.MCP23XXX.GPIO, webiopi.devices.i2c.I2C.readRegister(), webiopi.devices.digital.mcp23XXX.MCP23SXX.readRegister(), webiopi.devices.i2c.I2C.writeRegister(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.writeRegister().
| def webiopi.devices.digital.mcp23XXX.MCP23XXX.__getFunction__ | ( | self, | |
| channel | |||
| ) |
Definition at line 60 of file mcp23XXX.py.
References webiopi.devices.digital.mcp23XXX.MCP23XXX.getChannel(), webiopi.devices.digital.GPIOPort.IN, com.trouch.webiopi.client.devices.digital.GPIO.IN, webiopi.devices.digital.mcp23XXX.MCP23XXX.IODIR, webiopi.devices.digital.GPIOPort.OUT, com.trouch.webiopi.client.devices.digital.GPIO.OUT, webiopi.devices.i2c.I2C.readRegister(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.readRegister().
| def webiopi.devices.digital.mcp23XXX.MCP23XXX.__portRead__ | ( | self | ) |
Definition at line 77 of file mcp23XXX.py.
References webiopi.devices.digital.mcp23XXX.MCP23XXX.banks, webiopi.devices.digital.mcp23XXX.MCP23XXX.GPIO, webiopi.devices.i2c.I2C.readRegister(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.readRegister().
| def webiopi.devices.digital.mcp23XXX.MCP23XXX.__portWrite__ | ( | self, | |
| value | |||
| ) |
Definition at line 83 of file mcp23XXX.py.
References webiopi.devices.digital.mcp23XXX.MCP23XXX.banks, webiopi.devices.digital.mcp23XXX.MCP23XXX.GPIO, webiopi.devices.i2c.I2C.writeRegister(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.writeRegister().
| def webiopi.devices.digital.mcp23XXX.MCP23XXX.__setFunction__ | ( | self, | |
| channel, | |||
| value | |||
| ) |
Definition at line 65 of file mcp23XXX.py.
References webiopi.devices.digital.mcp23XXX.MCP23XXX.getChannel(), webiopi.devices.digital.GPIOPort.IN, com.trouch.webiopi.client.devices.digital.GPIO.IN, webiopi.devices.digital.mcp23XXX.MCP23XXX.IODIR, webiopi.devices.digital.GPIOPort.OUT, com.trouch.webiopi.client.devices.digital.GPIO.OUT, webiopi.devices.i2c.I2C.readRegister(), webiopi.devices.digital.mcp23XXX.MCP23SXX.readRegister(), webiopi.devices.i2c.I2C.writeRegister(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.writeRegister().
| def webiopi.devices.digital.mcp23XXX.MCP23XXX.getAddress | ( | self, | |
| register, | |||
channel = 0 |
|||
| ) |
Definition at line 37 of file mcp23XXX.py.
References webiopi.devices.digital.mcp23XXX.MCP23XXX.banks.
Referenced by webiopi.devices.digital.mcp23XXX.MCP23XXX.getChannel().
| def webiopi.devices.digital.mcp23XXX.MCP23XXX.getChannel | ( | self, | |
| register, | |||
| channel | |||
| ) |
Definition at line 40 of file mcp23XXX.py.
References webiopi.devices.digital.GPIOPort.checkDigitalChannel(), and webiopi.devices.digital.mcp23XXX.MCP23XXX.getAddress().
Referenced by webiopi.devices.digital.mcp23XXX.MCP23XXX.__digitalRead__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__digitalWrite__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__getFunction__(), and webiopi.devices.digital.mcp23XXX.MCP23XXX.__setFunction__().
| webiopi.devices.digital.mcp23XXX.MCP23XXX.banks |
Definition at line 35 of file mcp23XXX.py.
Referenced by webiopi.devices.digital.mcp23XXX.MCP23XXX.__portRead__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__portWrite__(), and webiopi.devices.digital.mcp23XXX.MCP23XXX.getAddress().
|
static |
Definition at line 24 of file mcp23XXX.py.
|
static |
Definition at line 23 of file mcp23XXX.py.
|
static |
Definition at line 30 of file mcp23XXX.py.
Referenced by webiopi.devices.digital.mcp23XXX.MCP23XXX.__digitalRead__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__digitalWrite__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__portRead__(), and webiopi.devices.digital.mcp23XXX.MCP23XXX.__portWrite__().
|
static |
Definition at line 27 of file mcp23XXX.py.
|
static |
Definition at line 29 of file mcp23XXX.py.
|
static |
Definition at line 25 of file mcp23XXX.py.
|
static |
Definition at line 28 of file mcp23XXX.py.
|
static |
Definition at line 26 of file mcp23XXX.py.
|
static |
Definition at line 21 of file mcp23XXX.py.
Referenced by webiopi.devices.digital.mcp23XXX.MCP23XXX.__getFunction__(), and webiopi.devices.digital.mcp23XXX.MCP23XXX.__setFunction__().
|
static |
Definition at line 22 of file mcp23XXX.py.
|
static |
Definition at line 31 of file mcp23XXX.py.
1.8.8