Public Member Functions | |
| def | __init__ |
| def | __str__ |
| def | addGPIO |
| def | addGPIOSetup |
| def | addGPIOReset |
| def | addSetups |
| def | addResets |
| def | setup |
| def | close |
| def | checkDigitalChannelExported |
| def | checkPostingFunctionAllowed |
| def | checkPostingValueAllowed |
| def | __digitalRead__ |
| def | __digitalWrite__ |
| def | __getFunction__ |
| def | __setFunction__ |
| def | __portRead__ |
| def | __portWrite__ |
| def | wildcard |
| def | getPulse |
| def | outputSequence |
| def | pulse |
| def | pulseRatio |
| def | pulseAngle |
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 | |
| export | |
| post_value | |
| post_function | |
| gpio_setup | |
| gpio_reset | |
Public Attributes inherited from webiopi.devices.digital.GPIOPort | |
| digitalChannelCount | |
| digitalBanksCount | |
Additional Inherited Members | |
Static Public Attributes inherited from webiopi.devices.digital.GPIOPort | |
| int | IN = 0 |
| int | OUT = 1 |
| LOW = False | |
| HIGH = True | |
| def webiopi.devices.digital.gpio.NativeGPIO.__digitalRead__ | ( | self, | |
| channel | |||
| ) |
Definition at line 96 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.checkDigitalChannelExported().
| def webiopi.devices.digital.gpio.NativeGPIO.__digitalWrite__ | ( | self, | |
| channel, | |||
| value | |||
| ) |
Definition at line 100 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.checkDigitalChannelExported(), and webiopi.devices.digital.gpio.NativeGPIO.checkPostingValueAllowed().
| def webiopi.devices.digital.gpio.NativeGPIO.__getFunction__ | ( | self, | |
| channel | |||
| ) |
Definition at line 105 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.checkDigitalChannelExported().
| def webiopi.devices.digital.gpio.NativeGPIO.__portRead__ | ( | self | ) |
Definition at line 114 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.export.
| def webiopi.devices.digital.gpio.NativeGPIO.__portWrite__ | ( | self, | |
| value | |||
| ) |
Definition at line 120 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.export, webiopi.decorators.rest.request(), and coap-client.response.
| def webiopi.devices.digital.gpio.NativeGPIO.__setFunction__ | ( | self, | |
| channel, | |||
| value | |||
| ) |
Definition at line 109 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.checkDigitalChannelExported(), and webiopi.devices.digital.gpio.NativeGPIO.checkPostingFunctionAllowed().
| def webiopi.devices.digital.gpio.NativeGPIO.addGPIO | ( | self, | |
| lst, | |||
| gpio, | |||
| params | |||
| ) |
Definition at line 38 of file gpio.py.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.addGPIOReset(), and webiopi.devices.digital.gpio.NativeGPIO.addGPIOSetup().
| def webiopi.devices.digital.gpio.NativeGPIO.addGPIOReset | ( | self, | |
| gpio, | |||
| params | |||
| ) |
Definition at line 57 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.addGPIO(), and webiopi.devices.digital.gpio.NativeGPIO.gpio_reset.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.addResets().
| def webiopi.devices.digital.gpio.NativeGPIO.addGPIOSetup | ( | self, | |
| gpio, | |||
| params | |||
| ) |
Definition at line 54 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.addGPIO(), and webiopi.devices.digital.gpio.NativeGPIO.gpio_setup.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.addSetups().
| def webiopi.devices.digital.gpio.NativeGPIO.addResets | ( | self, | |
| gpios | |||
| ) |
Definition at line 64 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.addGPIOReset().
| def webiopi.devices.digital.gpio.NativeGPIO.addSetups | ( | self, | |
| gpios | |||
| ) |
Definition at line 60 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.addGPIOSetup().
| def webiopi.devices.digital.gpio.NativeGPIO.checkDigitalChannelExported | ( | self, | |
| channel | |||
| ) |
Definition at line 84 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.export.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.__digitalRead__(), webiopi.devices.digital.gpio.NativeGPIO.__digitalWrite__(), webiopi.devices.digital.gpio.NativeGPIO.__getFunction__(), webiopi.devices.digital.gpio.NativeGPIO.__setFunction__(), webiopi.devices.digital.gpio.NativeGPIO.getPulse(), webiopi.devices.digital.gpio.NativeGPIO.outputSequence(), webiopi.devices.digital.gpio.NativeGPIO.pulse(), webiopi.devices.digital.gpio.NativeGPIO.pulseAngle(), and webiopi.devices.digital.gpio.NativeGPIO.pulseRatio().
| def webiopi.devices.digital.gpio.NativeGPIO.checkPostingFunctionAllowed | ( | self | ) |
Definition at line 88 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.post_function.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.__setFunction__().
| def webiopi.devices.digital.gpio.NativeGPIO.checkPostingValueAllowed | ( | self | ) |
Definition at line 92 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.post_value.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.__digitalWrite__(), webiopi.devices.digital.gpio.NativeGPIO.outputSequence(), webiopi.devices.digital.gpio.NativeGPIO.pulse(), webiopi.devices.digital.gpio.NativeGPIO.pulseAngle(), and webiopi.devices.digital.gpio.NativeGPIO.pulseRatio().
| def webiopi.devices.digital.gpio.NativeGPIO.close | ( | self | ) |
Definition at line 76 of file gpio.py.
References webiopi.utils.logger.debug(), and webiopi.devices.digital.gpio.NativeGPIO.gpio_reset.
| def webiopi.devices.digital.gpio.NativeGPIO.getPulse | ( | self, | |
| channel | |||
| ) |
Definition at line 150 of file gpio.py.
References webiopi.devices.digital.GPIOPort.checkDigitalChannel(), webiopi.devices.digital.gpio.NativeGPIO.checkDigitalChannelExported(), webiopi.decorators.rest.request(), and coap-client.response.
| def webiopi.devices.digital.gpio.NativeGPIO.outputSequence | ( | self, | |
| channel, | |||
| args | |||
| ) |
| def webiopi.devices.digital.gpio.NativeGPIO.pulse | ( | self, | |
| channel | |||
| ) |
| def webiopi.devices.digital.gpio.NativeGPIO.pulseAngle | ( | self, | |
| channel, | |||
| value | |||
| ) |
Definition at line 183 of file gpio.py.
References webiopi.devices.digital.GPIOPort.checkDigitalChannel(), webiopi.devices.digital.gpio.NativeGPIO.checkDigitalChannelExported(), and webiopi.devices.digital.gpio.NativeGPIO.checkPostingValueAllowed().
| def webiopi.devices.digital.gpio.NativeGPIO.pulseRatio | ( | self, | |
| channel, | |||
| value | |||
| ) |
| def webiopi.devices.digital.gpio.NativeGPIO.setup | ( | self | ) |
Definition at line 68 of file gpio.py.
References webiopi.utils.logger.debug(), and webiopi.devices.digital.gpio.NativeGPIO.gpio_setup.
| def webiopi.devices.digital.gpio.NativeGPIO.wildcard | ( | self, | |
compact = False |
|||
| ) |
Definition at line 130 of file gpio.py.
References webiopi.devices.digital.gpio.NativeGPIO.export, and webiopi.decorators.rest.request().
| webiopi.devices.digital.gpio.NativeGPIO.export |
Definition at line 29 of file gpio.py.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.__portRead__(), webiopi.devices.digital.gpio.NativeGPIO.__portWrite__(), webiopi.devices.digital.gpio.NativeGPIO.checkDigitalChannelExported(), webiopi.protocols.rest.RESTHandler.getJSON(), and webiopi.devices.digital.gpio.NativeGPIO.wildcard().
| webiopi.devices.digital.gpio.NativeGPIO.gpio_reset |
Definition at line 33 of file gpio.py.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.addGPIOReset(), and webiopi.devices.digital.gpio.NativeGPIO.close().
| webiopi.devices.digital.gpio.NativeGPIO.gpio_setup |
Definition at line 32 of file gpio.py.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.addGPIOSetup(), and webiopi.devices.digital.gpio.NativeGPIO.setup().
| webiopi.devices.digital.gpio.NativeGPIO.post_function |
Definition at line 31 of file gpio.py.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.checkPostingFunctionAllowed().
| webiopi.devices.digital.gpio.NativeGPIO.post_value |
Definition at line 30 of file gpio.py.
Referenced by webiopi.devices.digital.gpio.NativeGPIO.checkPostingValueAllowed().
1.8.8