Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

GattrRaw Class Reference

Class which is instantiated for each raw register kind. More...

Inheritance diagram for GattrRaw:

Inheritance graph
[legend]
Collaboration diagram for GattrRaw:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __init__ (name, regno, size, flags=ATTR_READ_WRITE)
 set (node, val, attr, bypass=0)
 get (node, attr, bypass=0)

Detailed Description

Class which is instantiated for each raw register kind.

Definition at line 132 of file gAttr.py.


Member Function Documentation

__init__ name  ,
regno  ,
size  ,
flags  = ATTR_READ_WRITE
 

GattrRaw constructor

Parameters:
name The name of the register
regno Register no.
size Register size in bytes.

get node  ,
attr  ,
bypass  = 0
 

Method for getting the value of a register attribute. Calls the functions in the node class for getting values. If bypass=0 (the default), the value will be returned in EU. If bypass=1, the raw value will be returned.

Reimplemented from Gattr.

set node  ,
val  ,
attr  ,
bypass  = 0
 

Method for setting the value of a register attribute. Calls the functions in the base class for setting values.

Parameters:
val Register value to be set
bypass Optional. Flag for bypassing EGU conversion


The documentation for this class was generated from the following file:
Generated on Fri Jul 21 13:26:45 2006 for LATTE R04-12-00 by doxygen 1.4.3