Configurator
Public Member Functions | List of all members
maker_bus.Maker_Bus_Module Class Reference

Per module base class to interface with MakerBus modules. More...

Public Member Functions

def __init__
 
def auto_flush_set
 
def flush
 
def request_begin
 
def request_character_put
 
def request_end
 
def request_logical_put
 
def request_ubyte_put
 
def response_begin
 
def response_character_get
 
def response_logical_get
 
def response_ubyte_get
 
def response_end
 

Detailed Description

Per module base class to interface with MakerBus modules.

This represents a single module on the bus: 

Maker_Bus_Module provides a base class from which sub-classes can be specialized. The base class provides common communication methods. The specialized sub-class provides the module specific register and function access to the module.

Constructor & Destructor Documentation

def maker_bus.Maker_Bus_Module.__init__ (   self,
  maker_bus_base,
  address 
)
This represents a single module on the bus: 

Member Function Documentation

def maker_bus.Maker_Bus_Module.auto_flush_set (   self,
  flush_mode 
)
{Maker_Bus_Module}: Initialize {self} to contain {maker_bus_base}
and {address}.
def maker_bus.Maker_Bus_Module.flush (   self)
{Maker_Bus_Module}:  This routine will set the auto flush mode for
{self} to {flush_mode}.  When {flush_mode} is {True},
each operation is immediately sent to the selected module.
When {flush_mode} is {False}, the commands queue up until
the request buffer is full or until {flush}() is explicitly
called. 
def maker_bus.Maker_Bus_Module.request_begin (   self,
  command 
)
{Maker_Bus_Module}: This routine will cause any queued commands
to be flushed.  
def maker_bus.Maker_Bus_Module.request_character_put (   self,
  character 
)
 
def maker_bus.Maker_Bus_Module.request_end (   self)
 
def maker_bus.Maker_Bus_Module.request_logical_put (   self,
  logical 
)
 
def maker_bus.Maker_Bus_Module.response_begin (   self)
 
def maker_bus.Maker_Bus_Module.response_character_get (   self)
 
def maker_bus.Maker_Bus_Module.response_end (   self)
 
def maker_bus.Maker_Bus_Module.response_logical_get (   self)
 
def maker_bus.Maker_Bus_Module.response_ubyte_get (   self)
 

Member Data Documentation

int maker_bus.Maker_Bus_Module.value 0
static
 

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