Public Member Functions | |
| 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 | |
| digitalChannelCount | |
| digitalBanksCount | |
Static Public Attributes | |
| int | IN = 0 |
| int | OUT = 1 |
| LOW = False | |
| HIGH = True | |
Definition at line 18 of file __init__.py.
| def webiopi.devices.digital.GPIOPort.__init__ | ( | self, | |
| channelCount, | |||
bankCount = 0 |
|||
| ) |
Definition at line 25 of file __init__.py.
| def webiopi.devices.digital.GPIOPort.__digitalRead__ | ( | self, | |
| chanel | |||
| ) |
Definition at line 61 of file __init__.py.
Referenced by webiopi.devices.digital.GPIOPort.digitalRead().
| def webiopi.devices.digital.GPIOPort.__digitalWrite__ | ( | self, | |
| chanel, | |||
| value | |||
| ) |
Definition at line 67 of file __init__.py.
Referenced by webiopi.devices.digital.GPIOPort.digitalWrite().
| def webiopi.devices.digital.GPIOPort.__family__ | ( | self | ) |
Definition at line 52 of file __init__.py.
| def webiopi.devices.digital.GPIOPort.__getFunction__ | ( | self, | |
| channel | |||
| ) |
Definition at line 55 of file __init__.py.
Referenced by webiopi.devices.digital.GPIOPort.getFunction().
| def webiopi.devices.digital.GPIOPort.__portRead__ | ( | self | ) |
Definition at line 64 of file __init__.py.
Referenced by webiopi.devices.digital.GPIOPort.portRead().
| def webiopi.devices.digital.GPIOPort.__portWrite__ | ( | self, | |
| value | |||
| ) |
Definition at line 70 of file __init__.py.
Referenced by webiopi.devices.digital.GPIOPort.portWrite().
| def webiopi.devices.digital.GPIOPort.__setFunction__ | ( | self, | |
| channel, | |||
| func | |||
| ) |
Definition at line 58 of file __init__.py.
Referenced by webiopi.devices.digital.GPIOPort.setFunction().
| def webiopi.devices.digital.GPIOPort.bankCount | ( | self | ) |
Definition at line 49 of file __init__.py.
References webiopi.devices.digital.GPIOPort.digitalBanksCount.
| def webiopi.devices.digital.GPIOPort.checkDigitalBanks | ( | self, | |
| banks | |||
| ) |
Definition at line 38 of file __init__.py.
References webiopi.devices.digital.GPIOPort.digitalChannelCount, webiopi.decorators.rest.request(), and coap-client.response.
| def webiopi.devices.digital.GPIOPort.checkDigitalChannel | ( | self, | |
| channel | |||
| ) |
Definition at line 30 of file __init__.py.
References webiopi.devices.digital.GPIOPort.digitalChannelCount.
Referenced by webiopi.devices.digital.GPIOPort.digitalRead(), webiopi.devices.digital.GPIOPort.digitalWrite(), webiopi.devices.digital.mcp23XXX.MCP23XXX.getChannel(), webiopi.devices.digital.GPIOPort.getFunction(), webiopi.devices.digital.gpio.NativeGPIO.getPulse(), webiopi.devices.digital.gpio.NativeGPIO.outputSequence(), webiopi.devices.digital.gpio.NativeGPIO.pulse(), webiopi.devices.digital.gpio.NativeGPIO.pulseAngle(), webiopi.devices.digital.gpio.NativeGPIO.pulseRatio(), and webiopi.devices.digital.GPIOPort.setFunction().
| def webiopi.devices.digital.GPIOPort.checkDigitalValue | ( | self, | |
| value | |||
| ) |
Definition at line 34 of file __init__.py.
Referenced by webiopi.devices.digital.GPIOPort.digitalWrite().
| def webiopi.devices.digital.GPIOPort.digitalCount | ( | self | ) |
Definition at line 44 of file __init__.py.
References webiopi.devices.digital.GPIOPort.digitalChannelCount, webiopi.decorators.rest.request(), and coap-client.response.
| def webiopi.devices.digital.GPIOPort.digitalRead | ( | self, | |
| channel | |||
| ) |
Definition at line 109 of file __init__.py.
References webiopi.devices.digital.GPIOPort.__digitalRead__(), webiopi.devices.digital.GPIOPort.checkDigitalChannel(), webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.digital.GPIOPort.digitalWrite(), webiopi.devices.shield.piface.PiFaceDigital.readAll(), and webiopi.devices.digital.GPIOPort.wildcard().
| def webiopi.devices.digital.GPIOPort.digitalWrite | ( | self, | |
| channel, | |||
| value | |||
| ) |
Definition at line 139 of file __init__.py.
References webiopi.devices.digital.GPIOPort.__digitalWrite__(), webiopi.devices.digital.GPIOPort.checkDigitalChannel(), webiopi.devices.digital.GPIOPort.checkDigitalValue(), com.trouch.webiopi.client.devices.digital.GPIO.digitalRead(), webiopi.devices.digital.GPIOPort.digitalRead(), webiopi.clients.GPIO.digitalRead(), webiopi.decorators.rest.request(), and coap-client.response.
| def webiopi.devices.digital.GPIOPort.getFunction | ( | self, | |
| channel | |||
| ) |
Definition at line 73 of file __init__.py.
References webiopi.devices.digital.GPIOPort.__getFunction__(), webiopi.devices.digital.GPIOPort.checkDigitalChannel(), and webiopi.decorators.rest.request().
Referenced by webiopi.devices.digital.GPIOPort.getFunctionString(), webiopi.devices.digital.GPIOPort.setFunction(), and webiopi.devices.digital.GPIOPort.wildcard().
| def webiopi.devices.digital.GPIOPort.getFunctionString | ( | self, | |
| channel | |||
| ) |
Definition at line 78 of file __init__.py.
References com.trouch.webiopi.client.devices.digital.GPIO.getFunction(), webiopi.devices.digital.GPIOPort.getFunction(), webiopi.clients.GPIO.getFunction(), webiopi.devices.digital.GPIOPort.IN, com.trouch.webiopi.client.devices.digital.GPIO.IN, webiopi.devices.digital.GPIOPort.OUT, and com.trouch.webiopi.client.devices.digital.GPIO.OUT.
Referenced by webiopi.devices.digital.GPIOPort.setFunctionString(), and webiopi.devices.digital.GPIOPort.wildcard().
| def webiopi.devices.digital.GPIOPort.portRead | ( | self | ) |
Definition at line 134 of file __init__.py.
References webiopi.devices.digital.GPIOPort.__portRead__(), webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.digital.GPIOPort.portWrite().
| def webiopi.devices.digital.GPIOPort.portWrite | ( | self, | |
| value | |||
| ) |
Definition at line 147 of file __init__.py.
References webiopi.devices.digital.GPIOPort.__portWrite__(), webiopi.clients.GPIO.portRead(), and webiopi.devices.digital.GPIOPort.portRead().
Referenced by webiopi.devices.digital.ds2408.DS2408.__init__().
| def webiopi.devices.digital.GPIOPort.setFunction | ( | self, | |
| channel, | |||
| value | |||
| ) |
Definition at line 89 of file __init__.py.
References webiopi.devices.digital.GPIOPort.__setFunction__(), webiopi.devices.digital.GPIOPort.checkDigitalChannel(), com.trouch.webiopi.client.devices.digital.GPIO.getFunction(), webiopi.devices.digital.GPIOPort.getFunction(), webiopi.clients.GPIO.getFunction(), and webiopi.decorators.rest.request().
Referenced by webiopi.devices.digital.GPIOPort.setFunctionString().
| def webiopi.devices.digital.GPIOPort.setFunctionString | ( | self, | |
| channel, | |||
| value | |||
| ) |
Definition at line 95 of file __init__.py.
References webiopi.devices.digital.GPIOPort.getFunctionString(), webiopi.devices.digital.GPIOPort.IN, com.trouch.webiopi.client.devices.digital.GPIO.IN, webiopi.devices.digital.GPIOPort.OUT, com.trouch.webiopi.client.devices.digital.GPIO.OUT, webiopi.decorators.rest.request(), coap-client.response, com.trouch.webiopi.client.devices.digital.GPIO.setFunction(), webiopi.devices.digital.GPIOPort.setFunction(), and webiopi.clients.GPIO.setFunction().
| def webiopi.devices.digital.GPIOPort.wildcard | ( | self, | |
compact = False |
|||
| ) |
Definition at line 115 of file __init__.py.
References webiopi.devices.digital.GPIOPort.digitalChannelCount, com.trouch.webiopi.client.devices.digital.GPIO.digitalRead(), webiopi.devices.digital.GPIOPort.digitalRead(), webiopi.clients.GPIO.digitalRead(), com.trouch.webiopi.client.devices.digital.GPIO.getFunction(), webiopi.devices.digital.GPIOPort.getFunction(), webiopi.clients.GPIO.getFunction(), webiopi.devices.digital.GPIOPort.getFunctionString(), webiopi.decorators.rest.request(), and coap-client.response.
| webiopi.devices.digital.GPIOPort.digitalBanksCount |
Definition at line 28 of file __init__.py.
Referenced by webiopi.devices.digital.GPIOPort.bankCount().
| webiopi.devices.digital.GPIOPort.digitalChannelCount |
Definition at line 26 of file __init__.py.
Referenced by webiopi.devices.digital.GPIOPort.checkDigitalBanks(), webiopi.devices.digital.GPIOPort.checkDigitalChannel(), webiopi.devices.digital.GPIOPort.digitalCount(), and webiopi.devices.digital.GPIOPort.wildcard().
|
static |
Definition at line 23 of file __init__.py.
|
static |
Definition at line 19 of file __init__.py.
Referenced by webiopi.devices.digital.mcp23XXX.MCP23XXX.__getFunction__(), webiopi.devices.digital.ds2408.DS2408.__setFunction__(), webiopi.devices.digital.pcf8574.PCF8574.__setFunction__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__setFunction__(), webiopi.devices.digital.GPIOPort.getFunctionString(), and webiopi.devices.digital.GPIOPort.setFunctionString().
|
static |
Definition at line 22 of file __init__.py.
|
static |
Definition at line 20 of file __init__.py.
Referenced by webiopi.devices.digital.mcp23XXX.MCP23XXX.__getFunction__(), webiopi.devices.digital.ds2408.DS2408.__setFunction__(), webiopi.devices.digital.pcf8574.PCF8574.__setFunction__(), webiopi.devices.digital.mcp23XXX.MCP23XXX.__setFunction__(), webiopi.devices.digital.GPIOPort.getFunctionString(), and webiopi.devices.digital.GPIOPort.setFunctionString().
1.8.8