Public Member Functions | |
| def | __init__ |
| def | __str__ |
| def | __analogRead__ |
Public Member Functions inherited from webiopi.devices.spi.SPI | |
| def | __init__ |
| def | __str__ |
| def | xfer |
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.analog.ADC | |
| 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 |
Public Attributes | |
| name | |
| MSB_MASK | |
Public Attributes inherited from webiopi.devices.spi.SPI | |
| chip | |
| mode | |
| bits | |
| speed | |
Public Attributes inherited from webiopi.devices.bus.Bus | |
| busName | |
| device | |
| flag | |
| fd | |
Definition at line 19 of file mcp3x0x.py.
| def webiopi.devices.analog.mcp3x0x.MCP3X0X.__init__ | ( | self, | |
| chip, | |||
| channelCount, | |||
| resolution, | |||
| vref, | |||
| name | |||
| ) |
Definition at line 20 of file mcp3x0x.py.
References webiopi.utils.types.toint().
| def webiopi.devices.analog.mcp3x0x.MCP3X0X.__analogRead__ | ( | self, | |
| channel, | |||
| diff | |||
| ) |
Definition at line 29 of file mcp3x0x.py.
References webiopi.devices.analog.pcf8591.PCF8591.__command__(), webiopi.devices.analog.mcp3x0x.MCP300X.__command__(), webiopi.devices.analog.mcp3x0x.MCP3002.__command__(), webiopi.devices.analog.mcp3x0x.MCP320X.__command__(), webiopi.devices.analog.mcp3x0x.MCP3X0X.MSB_MASK, and webiopi.devices.spi.SPI.xfer().
| def webiopi.devices.analog.mcp3x0x.MCP3X0X.__str__ | ( | self | ) |
Definition at line 26 of file mcp3x0x.py.
References webiopi.devices.spi.SPI.chip, webiopi.devices.analog.mcp3x0x.MCP3X0X.name, webiopi.devices.analog.ads1x1x.ADS1X1X.name, and webiopi.devices.analog.mcp3424.MCP3424.name.
| webiopi.devices.analog.mcp3x0x.MCP3X0X.MSB_MASK |
Definition at line 24 of file mcp3x0x.py.
Referenced by webiopi.devices.analog.mcp3x0x.MCP3X0X.__analogRead__().
| webiopi.devices.analog.mcp3x0x.MCP3X0X.name |
Definition at line 23 of file mcp3x0x.py.
Referenced by webiopi.devices.sensor.onewiretemp.OneWireTemp.__str__(), webiopi.devices.analog.mcp3x0x.MCP3X0X.__str__(), webiopi.devices.analog.mcp48XX.MCP48XX.__str__(), webiopi.devices.digital.pcf8574.PCF8574.__str__(), webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__str__(), webiopi.devices.digital.mcp23XXX.MCP230XX.__str__(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.__str__().
1.8.8