Rcuxx::RcuTRCFG2 Struct Reference
[RCU interface classes]

#include <rcuxx/Rcu.h>

Inheritance diagram for Rcuxx::RcuTRCFG2:

Inheritance graph
Collaboration diagram for Rcuxx::RcuTRCFG2:

Collaboration graph

List of all members.


Detailed Description

Interface to the ReaD-Out MODe register.

This provide the interface that concrete implementations should implement.

Note:
This register is only available with the U2F interface

Public Types

enum  Mode_t

Public Member Functions

 RcuTRCFG2 (RcuMemory &mem, size_t offset)
virtual void Decode (unsigned int dat)
virtual unsigned int Encode ()
virtual void Print () const
Mode_t Mode () const
void SetMode (Mode_t mode)
bool IsEnableHT () const
void SetEnableHT (bool on=true)

Protected Attributes

Mode_t fMode
bool fEnableHT

Member Enumeration Documentation

Read out mode.


Constructor & Destructor Documentation

Rcuxx::RcuTRCFG2::RcuTRCFG2 ( RcuMemory mem,
size_t  offset 
) [inline]

Constructor.

Parameters:
mem reference to memory
offset Offset in memory


Member Function Documentation

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

Decode dat as.

Reimplemented from Rcuxx::RcuRegister.

References fEnableHT, and fMode.

unsigned int Rcuxx::RcuTRCFG2::Encode (  )  [inline, virtual]

Encode set values and return hardware register value.

Reimplemented from Rcuxx::RcuRegister.

References fEnableHT, and fMode.

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

Print to standard output.

Reimplemented from Rcuxx::RcuRegister.

References fEnableHT, fMode, and Rcuxx::RcuRegister::Print().

Mode_t Rcuxx::RcuTRCFG2::Mode (  )  const [inline]

Mode.

References fMode.

void Rcuxx::RcuTRCFG2::SetMode ( Mode_t  mode  )  [inline]

Mode.

References fMode.

bool Rcuxx::RcuTRCFG2::IsEnableHT (  )  const [inline]

Returns:
hardware trigger enabled

References fEnableHT.

void Rcuxx::RcuTRCFG2::SetEnableHT ( bool  on = true  )  [inline]

Enable hardware trigger.

References fEnableHT.


Member Data Documentation

Mode.

Referenced by Decode(), Encode(), Mode(), Print(), and SetMode().

bool Rcuxx::RcuTRCFG2::fEnableHT [protected]

Enable hardware trigger.

Referenced by Decode(), Encode(), IsEnableHT(), Print(), and SetEnableHT().


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