Main Page | Namespace List | 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, bypass=0)
 get (node, bypass=0)

Detailed Description

Class which is instantiated for each raw register kind.

Definition at line 122 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  ,
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  ,
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

Reimplemented from Gattr.


The documentation for this class was generated from the following file:
Generated on Fri Jan 21 18:01:00 2005 for LATTE P04-06-05 by doxygen 1.4.1