Yet Another WebIOPi+
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | Public Attributes | List of all members
webiopi.devices.spi.SPI Class Reference
Inheritance diagram for webiopi.devices.spi.SPI:
webiopi.devices.bus.Bus webiopi.devices.analog.advrspi.ADVRSPI webiopi.devices.analog.advrspidc.ADVRSPIDC webiopi.devices.analog.mcp3x0x.MCP3X0X webiopi.devices.analog.mcp48XX.MCP48XX webiopi.devices.analog.mcp492X.MCP492X webiopi.devices.digital.mcp23XXX.MCP23SXX webiopi.devices.analog.advrspi.ADVRSPIMULTI webiopi.devices.analog.advrspi.ADVRSPISINGLE webiopi.devices.analog.advrspidc.ADVRSPIDCMULTI webiopi.devices.analog.advrspidc.ADVRSPIDCSINGLE webiopi.devices.analog.mcp3x0x.MCP300X webiopi.devices.analog.mcp3x0x.MCP320X webiopi.devices.analog.mcp48XX.MCP4802 webiopi.devices.analog.mcp48XX.MCP4812 webiopi.devices.analog.mcp48XX.MCP4822 webiopi.devices.analog.mcp492X.MCP4921 webiopi.devices.analog.mcp492X.MCP4922 webiopi.devices.digital.mcp23XXX.MCP23S08 webiopi.devices.digital.mcp23XXX.MCP23S09 webiopi.devices.digital.mcp23XXX.MCP23S17 webiopi.devices.digital.mcp23XXX.MCP23S18

Public Member Functions

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 Attributes

 chip
 
 mode
 
 bits
 
 speed
 
- Public Attributes inherited from webiopi.devices.bus.Bus
 busName
 
 device
 
 flag
 
 fd
 

Detailed Description

Definition at line 86 of file spi.py.

Constructor & Destructor Documentation

def webiopi.devices.spi.SPI.__init__ (   self,
  chip = 0,
  mode = 0,
  bits = 8,
  speed = 0 
)

Definition at line 87 of file spi.py.

Member Function Documentation

def webiopi.devices.spi.SPI.__str__ (   self)
def webiopi.devices.spi.SPI.xfer (   self,
  txbuff = None 
)

Member Data Documentation

webiopi.devices.spi.SPI.bits

Definition at line 105 of file spi.py.

Referenced by webiopi.devices.spi.SPI.xfer().

webiopi.devices.spi.SPI.chip
webiopi.devices.spi.SPI.mode

Definition at line 97 of file spi.py.

Referenced by webiopi.devices.spi.SPI.__str__().

webiopi.devices.spi.SPI.speed

Definition at line 115 of file spi.py.

Referenced by webiopi.devices.spi.SPI.__str__(), and webiopi.devices.spi.SPI.xfer().


The documentation for this class was generated from the following file: