Public Member Functions | |
| def | __init__ |
| def | __str__ |
| def | __getFunction__ |
| def | __setFunction__ |
| def | __digitalRead__ |
| def | __digitalWrite__ |
| def | __portWrite__ |
| def | __portRead__ |
| def | readState |
| def | readByte |
| def | writeByte |
Public Member Functions inherited from webiopi.devices.onewire.OneWire | |
| def | __init__ |
| def | __str__ |
| def | deviceList |
| def | read |
Public Member Functions inherited from webiopi.devices.bus.Bus | |
| def | __init__ |
| def | open |
| def | close |
| def | read |
| def | readBytes |
| def | readByte |
| def | write |
| def | writeBytes |
| def | writeByte |
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 |
Static Public Attributes | |
| list | FUNCTIONS = [GPIOPort.IN for i in range(8)] |
Static Public Attributes inherited from webiopi.devices.digital.GPIOPort | |
| int | IN = 0 |
| int | OUT = 1 |
| LOW = False | |
| HIGH = True | |
Additional Inherited Members | |
Public Attributes inherited from webiopi.devices.onewire.OneWire | |
| fd | |
| family | |
| slave | |
Public Attributes inherited from webiopi.devices.bus.Bus | |
| busName | |
| device | |
| flag | |
| fd | |
Public Attributes inherited from webiopi.devices.digital.GPIOPort | |
| digitalChannelCount | |
| digitalBanksCount | |
| def webiopi.devices.digital.ds2408.DS2408.__init__ | ( | self, | |
slave = None |
|||
| ) |
Definition at line 21 of file ds2408.py.
References webiopi.clients.GPIO.portWrite(), and webiopi.devices.digital.GPIOPort.portWrite().
| def webiopi.devices.digital.ds2408.DS2408.__digitalRead__ | ( | self, | |
| channel | |||
| ) |
Definition at line 39 of file ds2408.py.
References webiopi.devices.digital.ds2408.DS2408.readState().
| def webiopi.devices.digital.ds2408.DS2408.__digitalWrite__ | ( | self, | |
| channel, | |||
| value | |||
| ) |
Definition at line 46 of file ds2408.py.
References webiopi.devices.bus.Bus.readByte(), and webiopi.devices.bus.Bus.writeByte().
| def webiopi.devices.digital.ds2408.DS2408.__getFunction__ | ( | self, | |
| channel | |||
| ) |
Definition at line 29 of file ds2408.py.
References webiopi.devices.digital.ds2408.DS2408.FUNCTIONS.
| def webiopi.devices.digital.ds2408.DS2408.__portRead__ | ( | self | ) |
Definition at line 58 of file ds2408.py.
References webiopi.devices.bus.Bus.readByte().
| def webiopi.devices.digital.ds2408.DS2408.__portWrite__ | ( | self, | |
| value | |||
| ) |
Definition at line 55 of file ds2408.py.
References webiopi.devices.bus.Bus.writeByte().
| def webiopi.devices.digital.ds2408.DS2408.__setFunction__ | ( | self, | |
| channel, | |||
| value | |||
| ) |
| def webiopi.devices.digital.ds2408.DS2408.__str__ | ( | self | ) |
Definition at line 26 of file ds2408.py.
References webiopi.devices.onewire.OneWire.slave, webiopi.devices.i2c.I2C.slave, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
| def webiopi.devices.digital.ds2408.DS2408.readByte | ( | self | ) |
Definition at line 69 of file ds2408.py.
References webiopi.devices.bus.Bus.open(), webiopi.devices.onewire.OneWire.slave, webiopi.devices.i2c.I2C.slave, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
| def webiopi.devices.digital.ds2408.DS2408.readState | ( | self | ) |
Definition at line 61 of file ds2408.py.
References webiopi.devices.bus.Bus.open(), webiopi.devices.onewire.OneWire.slave, webiopi.devices.i2c.I2C.slave, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
Referenced by webiopi.devices.digital.ds2408.DS2408.__digitalRead__().
| def webiopi.devices.digital.ds2408.DS2408.writeByte | ( | self, | |
| value | |||
| ) |
Definition at line 77 of file ds2408.py.
References webiopi.devices.bus.Bus.open(), webiopi.devices.onewire.OneWire.slave, webiopi.devices.i2c.I2C.slave, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
|
static |
1.8.8