Rcuxx::RcuERRST Class Reference
[RCU interface classes]

#include <rcuxx/Rcu.h>

Inheritance diagram for Rcuxx::RcuERRST:

Inheritance graph
Collaboration diagram for Rcuxx::RcuERRST:

Collaboration graph

List of all members.


Detailed Description

Interface to the ERRor and STatus register.

This provide the interface that concrete implementations should implement.

Public Member Functions

 RcuERRST (RcuMemory &mem, size_t offset, RcuCommand *clear)
bool IsPattern () const
bool IsAbort () const
bool IsTimeout () const
bool IsAltro () const
bool IsHWAdd () const
bool IsBusy () const
unsigned int Where () const
virtual void Decode (unsigned int dat)
virtual void Print () const

Protected Attributes

bool fPattern
bool fAbort
bool fTimeout
bool fAltro
bool fHWAdd
bool fBusy
unsigned int fWhere


Constructor & Destructor Documentation

Rcuxx::RcuERRST::RcuERRST ( RcuMemory mem,
size_t  offset,
RcuCommand clear 
) [inline]

Constructor.

Parameters:
mem reference to memory
offset Offset in memory
clear Clear command


Member Function Documentation

bool Rcuxx::RcuERRST::IsPattern (  )  const [inline]

Returns:
true if Pattern

References fPattern.

bool Rcuxx::RcuERRST::IsAbort (  )  const [inline]

Returns:
true if Abort

References fAbort.

bool Rcuxx::RcuERRST::IsTimeout (  )  const [inline]

Returns:
true if Timeout

References fTimeout.

bool Rcuxx::RcuERRST::IsAltro (  )  const [inline]

Returns:
true if Altro

References fAltro.

bool Rcuxx::RcuERRST::IsHWAdd (  )  const [inline]

Returns:
true if HWAdd

References fHWAdd.

bool Rcuxx::RcuERRST::IsBusy (  )  const [inline]

Returns:
true if Busy

References fBusy.

unsigned int Rcuxx::RcuERRST::Where (  )  const [inline]

Returns:
where error occured

References fWhere.

void Rcuxx::RcuERRST::Decode ( unsigned int  dat  )  [inline, virtual]

Decode dat as the ERRor and STatus register.

Reimplemented from Rcuxx::RcuRegister.

References fAbort, fAltro, fBusy, fHWAdd, fPattern, fTimeout, and fWhere.

void Rcuxx::RcuERRST::Print (  )  const [inline, virtual]

Print to standard output.

Reimplemented from Rcuxx::RcuRegister.

References fAbort, fAltro, fBusy, fHWAdd, fPattern, fTimeout, fWhere, and Rcuxx::RcuRegister::Print().


Member Data Documentation

bool Rcuxx::RcuERRST::fPattern [protected]

Error when comparing ALTRO channel PMEM to RCU PMEM.

Referenced by Decode(), IsPattern(), and Print().

bool Rcuxx::RcuERRST::fAbort [protected]

user did an abort

Referenced by Decode(), IsAbort(), and Print().

bool Rcuxx::RcuERRST::fTimeout [protected]

Command timed out.

Referenced by Decode(), IsTimeout(), and Print().

bool Rcuxx::RcuERRST::fAltro [protected]

Error from ALTRO bus (ALTROs or BCs).

Referenced by Decode(), IsAltro(), and Print().

bool Rcuxx::RcuERRST::fHWAdd [protected]

Error in address read in data read-out.

Referenced by Decode(), IsHWAdd(), and Print().

bool Rcuxx::RcuERRST::fBusy [protected]

ALTRO bus interface busy.

Referenced by Decode(), IsBusy(), and Print().

unsigned int Rcuxx::RcuERRST::fWhere [protected]

The address of this chip.

Referenced by Decode(), Print(), and Where().


The documentation for this class was generated from the following file:
Top of page Last update Wed Jun 4 00:50:47 2008
Copyright © 2004 Christian Holm Created by DoxyGen 1.5.6