Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
device.scripts.msp430.MSP Class Reference
Inheritance diagram for device.scripts.msp430.MSP:
Inheritance graph
Collaboration diagram for device.scripts.msp430.MSP:
Collaboration graph

Public Member Functions

def __init__
 
def __getitem__
 
def __setitem__
 
def enable
 
def desable
 
- Public Member Functions inherited from serial.tools.miniterm.Miniterm
def __init__
 
def start
 
def stop
 
def join
 
def dump_port_settings
 
def reader
 
def writer
 

Data Fields

 serial
 
 port
 
- Data Fields inherited from serial.tools.miniterm.Miniterm
 serial
 
 echo
 
 repr_mode
 
 convert_outgoing
 
 newline
 
 dtr_state
 
 rts_state
 
 break_state
 
 receiver_thread
 
 alive
 
 transmitter_thread
 

Static Public Attributes

int port = 0
 
 alive = False
 
dictionary modules = {}
 

Detailed Description

docstring for MSP

Done with the ideia that all the interface happens
by UART

Definition at line 27 of file msp430.py.

Constructor & Destructor Documentation

def device.scripts.msp430.MSP.__init__ (   self,
  tty,
  baud = 9600 
)

Definition at line 39 of file msp430.py.

Member Function Documentation

def device.scripts.msp430.MSP.__getitem__ (   self,
  key 
)
Return the value of a item 

Definition at line 57 of file msp430.py.

def device.scripts.msp430.MSP.__setitem__ (   self,
  key,
  item 
)
Set a value of a item 

Definition at line 68 of file msp430.py.

def device.scripts.msp430.MSP.desable (   self)
Method to desable the micro 

Definition at line 77 of file msp430.py.

def device.scripts.msp430.MSP.enable (   self)
Method to enable the micro 

Definition at line 73 of file msp430.py.

Field Documentation

device.scripts.msp430.MSP.alive = False
static

Definition at line 36 of file msp430.py.

dictionary device.scripts.msp430.MSP.modules = {}
static

Definition at line 37 of file msp430.py.

int device.scripts.msp430.MSP.port = 0
static

Definition at line 35 of file msp430.py.

device.scripts.msp430.MSP.port

Definition at line 54 of file msp430.py.

device.scripts.msp430.MSP.serial

Definition at line 51 of file msp430.py.


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