GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / dev > pbs / rad750


Interface   Data Structures   File List   Data Fields   Globals  

TAU.ih.xx-ppc750-gcc File Reference

Thermal Assist Unit, inline interface. More...

#include <PBI/Attribute.h>

Functions

static unsigned int TAU__get1 (void) ATTR_UNUSED_OK
 Reads the current value in the THRM1 register.
static unsigned int TAU__get2 (void) ATTR_UNUSED_OK
 Reads the current value in the THRM2 register.
static unsigned int TAU__get3 (void) ATTR_UNUSED_OK
 Reads the current value in the THRM3 register.
static void TAU__set1 (unsigned int val) ATTR_UNUSED_OK
 Sets the value thrm1, in the THRM1 register.
static void TAU__set2 (unsigned int val) ATTR_UNUSED_OK
 Sets the value thrm2, in the THRM2 register.
static void TAU__set3 (unsigned int val) ATTR_UNUSED_OK
 Sets the value thrm3, in the THRM3 register.


Detailed Description

Thermal Assist Unit, inline interface.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: TAU.ih.xx-ppc750-gcc,v 1.2 2011/03/24 23:05:45 apw Exp $

SYNOPSIS
This defines the inline versions of the TAU routines. These provide a C interface the TAU registers and functionality.
See also the callable interface. For the most part, the routines in this section are available only in inline versions because they are simply covers for a mtspr or mfspr instruction.

Function Documentation

static unsigned int TAU__get1 ( void   )  [inline, static]

Reads the current value in the THRM1 register.

Returns:
The current value in the THRM1 register

Referenced by calcNewLimits(), save(), and TAU_pread().

static unsigned int TAU__get2 ( void   )  [inline, static]

Reads the current value in the THRM2 register.

Returns:
The current value in the THRM2 register

Referenced by calcNewLimits(), and save().

static unsigned int TAU__get3 ( void   )  [inline, static]

Reads the current value in the THRM3 register.

Returns:
The current value in the THRM3 register

Referenced by save().


Generated on Fri Aug 5 18:41:09 2011 by  doxygen 1.5.8