Rcuxx::BcAV_TH Struct Reference
[Board Controller classes]

#include <rcuxx/Bc.h>

Inheritance diagram for Rcuxx::BcAV_TH:

Inheritance graph
Collaboration diagram for Rcuxx::BcAV_TH:

Collaboration graph

List of all members.


Detailed Description

Interface to Board Controller register AV_TH.

Public Member Functions

 BcAV_TH (Rcu &rcu)
void SetMiliVolts (float v)
float MiliVolts () const
float Factor () const
const char * Unit () const
void Get ()
void Set ()
virtual void Print () const

Constructor & Destructor Documentation

Rcuxx::BcAV_TH::BcAV_TH ( Rcu rcu  )  [inline]

Constructor.

Parameters:
imem Instruction memory
rmem Result memory


Member Function Documentation

void Rcuxx::BcAV_TH::SetMiliVolts ( float  v  )  [inline]

Set threshold in mili volts.

Parameters:
v Threshold

References Rcuxx::AltroRegister::fData, and Rcuxx::BcAV::fgkCounts2mV.

float Rcuxx::BcAV_TH::MiliVolts (  )  const [inline]

Returns:
Get current human-readable value

References Rcuxx::AltroRegister::fData, and Rcuxx::BcAV::fgkCounts2mV.

Referenced by Print().

float Rcuxx::BcAV_TH::Factor (  )  const [inline, virtual]

Returns:
Conversion factor

Reimplemented from Rcuxx::BcThreshold.

References Rcuxx::BcAV::fgkCounts2mV.

const char* Rcuxx::BcAV_TH::Unit (  )  const [inline, virtual]

Returns:
Unit

Reimplemented from Rcuxx::BcThreshold.

void Rcuxx::BcAV_TH::Get (  )  [inline, virtual]

Decode read data.

Reimplemented from Rcuxx::AltroRegister.

References Rcuxx::AltroRegister::fData.

void Rcuxx::BcAV_TH::Set (  )  [inline, virtual]

Encode set data before committing.

Reimplemented from Rcuxx::AltroRegister.

References Rcuxx::AltroRegister::fData.

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

Print contents of this register.

Reimplemented from Rcuxx::BcThreshold.

References MiliVolts(), and Rcuxx::AltroRegister::Print().


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