Public Member Functions | |
| def | __init__ |
| def | __family__ |
| def | checkAnalogChannel |
| def | checkAnalogValue |
| def | analogCount |
| def | analogResolution |
| def | analogMaximum |
| def | analogReference |
| def | __analogRead__ |
| def | analogRead |
| def | analogReadFloat |
| def | analogReadVolt |
| def | analogReadAll |
| def | analogReadAllFloat |
| def | analogReadAllVolt |
Private Attributes | |
| _analogCount | |
| _analogResolution | |
| _analogMax | |
| _analogRef | |
Definition at line 18 of file __init__.py.
| def webiopi.devices.analog.ADC.__init__ | ( | self, | |
| channelCount, | |||
| resolution, | |||
| vref | |||
| ) |
Definition at line 19 of file __init__.py.
| def webiopi.devices.analog.ADC.__analogRead__ | ( | self, | |
| channel, | |||
| diff | |||
| ) |
Definition at line 56 of file __init__.py.
References webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.analog.ADC.analogRead().
| def webiopi.devices.analog.ADC.__family__ | ( | self | ) |
Definition at line 25 of file __init__.py.
| def webiopi.devices.analog.ADC.analogCount | ( | self | ) |
Definition at line 38 of file __init__.py.
References webiopi.devices.analog.ADC._analogCount, webiopi.decorators.rest.request(), and coap-client.response.
| def webiopi.devices.analog.ADC.analogMaximum | ( | self | ) |
Definition at line 48 of file __init__.py.
References webiopi.devices.analog.ADC._analogMax, webiopi.decorators.rest.request(), and coap-client.response.
| def webiopi.devices.analog.ADC.analogRead | ( | self, | |
| channel, | |||
diff = False |
|||
| ) |
Definition at line 61 of file __init__.py.
References webiopi.devices.analog.ADC.__analogRead__(), webiopi.devices.analog.ADC.checkAnalogChannel(), webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.analog.ADC.analogReadAll(), webiopi.devices.analog.ADC.analogReadFloat(), and webiopi.devices.analog.DAC.analogWrite().
| def webiopi.devices.analog.ADC.analogReadAll | ( | self | ) |
Definition at line 79 of file __init__.py.
References webiopi.devices.analog.ADC._analogCount, webiopi.devices.analog.ADC.analogRead(), webiopi.decorators.rest.request(), and coap-client.response.
| def webiopi.devices.analog.ADC.analogReadAllFloat | ( | self | ) |
Definition at line 87 of file __init__.py.
References webiopi.devices.analog.ADC._analogCount, webiopi.devices.analog.ADC.analogReadFloat(), webiopi.decorators.rest.request(), and coap-client.response.
| def webiopi.devices.analog.ADC.analogReadAllVolt | ( | self | ) |
Definition at line 95 of file __init__.py.
References webiopi.devices.analog.ADC._analogCount, and webiopi.devices.analog.ADC.analogReadVolt().
| def webiopi.devices.analog.ADC.analogReadFloat | ( | self, | |
| channel, | |||
diff = False |
|||
| ) |
Definition at line 67 of file __init__.py.
References webiopi.devices.analog.ADC._analogMax, webiopi.devices.analog.ADC.analogRead(), webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.analog.ADC.analogReadAllFloat(), webiopi.devices.analog.ADC.analogReadVolt(), and webiopi.devices.analog.DAC.analogWriteFloat().
| def webiopi.devices.analog.ADC.analogReadVolt | ( | self, | |
| channel, | |||
diff = False |
|||
| ) |
Definition at line 72 of file __init__.py.
References webiopi.devices.analog.ADC._analogRef, webiopi.devices.analog.ADC.analogReadFloat(), webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.analog.ADC.analogReadAllVolt(), and webiopi.devices.analog.DAC.analogWriteVolt().
| def webiopi.devices.analog.ADC.analogReference | ( | self | ) |
Definition at line 53 of file __init__.py.
References webiopi.devices.analog.ADC._analogRef.
| def webiopi.devices.analog.ADC.analogResolution | ( | self | ) |
Definition at line 43 of file __init__.py.
References webiopi.devices.analog.ADC._analogResolution, webiopi.decorators.rest.request(), and coap-client.response.
| def webiopi.devices.analog.ADC.checkAnalogChannel | ( | self, | |
| channel | |||
| ) |
Definition at line 28 of file __init__.py.
References webiopi.devices.analog.ADC._analogCount.
Referenced by webiopi.devices.analog.ADC.analogRead(), and webiopi.devices.analog.DAC.analogWrite().
| def webiopi.devices.analog.ADC.checkAnalogValue | ( | self, | |
| value | |||
| ) |
Definition at line 32 of file __init__.py.
References webiopi.devices.analog.ADC._analogMax, webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.analog.DAC.analogWrite().
|
private |
Definition at line 20 of file __init__.py.
Referenced by webiopi.devices.analog.mcp492X.MCP492X.__str__(), webiopi.devices.analog.ADC.analogCount(), webiopi.devices.analog.ADC.analogReadAll(), webiopi.devices.analog.ADC.analogReadAllFloat(), webiopi.devices.analog.ADC.analogReadAllVolt(), and webiopi.devices.analog.ADC.checkAnalogChannel().
|
private |
Definition at line 22 of file __init__.py.
Referenced by webiopi.devices.analog.ADC.analogMaximum(), webiopi.devices.analog.ADC.analogReadFloat(), webiopi.devices.analog.DAC.analogWriteFloat(), and webiopi.devices.analog.ADC.checkAnalogValue().
|
private |
Definition at line 23 of file __init__.py.
Referenced by webiopi.devices.analog.ADC.analogReadVolt(), webiopi.devices.analog.ADC.analogReference(), and webiopi.devices.analog.DAC.analogWriteVolt().
|
private |
1.8.8