GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GNAT / V2-0-0

Constituent: gnat_cio     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

gdump.c File Reference

Implements hardware register methods. More...

#include "GNAT/gnat.h"
#include "GNAT/log.h"
#include "GNAT/gerr.h"
#include "GNAT/gdump.h"
#include "gnat_p.h"

Include dependency graph for gdump.c:

Include dependency graph

Functions

int gDumpCtrlReg (gnatHandle gh, LOG_level lLevel)
 logs the contents of the control register

int gDumpStatReg (gnatHandle gh, LOG_level lLevel)
 logs the contents of the status register

int gDumpPFReg (gnatHandle gh)
 logs the contents of the play back FIFO register

int gDumpRFReg (gnatHandle gh)
 logs the contents of the record back FIFO register

int gDumpIntReg (gnatHandle gh, LOG_level lLevel)
 logs the contents of the interrupt config register

int gDumpAll (gnatHandle gh)
 dumps the contents of the control and status registers


Variables

logHandle hLog
 file local log handle


Detailed Description

Implements hardware register methods.

Author:
Curt Brune -- curt@slac.stanford.edu

Function Documentation

int gDumpAll gnatHandle  gh  ) 
 

dumps the contents of the control and status registers

Parameters:
gh handle of device
Returns:
OK if successful

Here is the call graph for this function:

int gDumpCtrlReg gnatHandle  gh,
LOG_level  lLevel
 

logs the contents of the control register

Parameters:
gh handle of device
lLevel logging level
Returns:
OK if successful

int gDumpIntReg gnatHandle  gh,
LOG_level  lLevel
 

logs the contents of the interrupt config register

Parameters:
gh handle of device
lLevel logging level
Returns:
OK if successful

int gDumpPFReg gnatHandle  gh  ) 
 

logs the contents of the play back FIFO register

Parameters:
gh handle of device
Returns:
OK if successful
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

Reading the FIFO is a destructive read

int gDumpRFReg gnatHandle  gh  ) 
 

logs the contents of the record back FIFO register

Parameters:
gh handle of device
Returns:
OK if successful
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

Reading the FIFO is a destructive read

int gDumpStatReg gnatHandle  gh,
LOG_level  lLevel
 

logs the contents of the status register

Parameters:
gh handle of device
lLevel logging level
Returns:
OK if successful


Generated on Thu Oct 21 08:24:15 2004 by doxygen 1.3.3