Doxygen Documentation

Main Index

Package Index

Package:

DUTIL

Version:

V0-0-1

Marked:

(not marked)

Constituent:

start

Tag:

rad750


Interface   Compound List   File List   Compound Members   File Members  

version.c File Reference

Provides function to extract the firmware/hardware version. More...

#include "DAB/sgem.h"
#include "DAB/sebm.h"
#include "DAB/scru.h"
#include "DAB/reg.h"
#include "DEM/AEM_CC_sync.h"
#include "MSG/MSG_pubdefs.h"
#include <string.h>
#include <stdio.h>

Include dependency graph for version.c:

Include dependency graph

Functions

void doPrint (const char *tgt, unsigned payload)
 Prints out a pretty statement about the version information in payload.

void printGEM (unsigned payload)
 Prints out the additional version information for the GEM.

int printVersion (LIOXs slh, const char *tgt)
 Reads the version information from the ASICs on the target component.


Detailed Description

Provides function to extract the firmware/hardware version.

Author:
James Swain -- jswain@slac.stanford.edu

Function Documentation

void doPrint const char *  tgt,
unsigned  payload
 

Prints out a pretty statement about the version information in payload.

Parameters:
tgt Name of the target component
payload Value of register containing the version information

void printGEM unsigned  payload  ) 
 

Prints out the additional version information for the GEM.

Parameters:
payload Value of register containing the version information

int printVersion LIOXs  slh,
const char *  tgt
 

Reads the version information from the ASICs on the target component.

Parameters:
slh Synchronous LIOX handle
tgt Name of the target component
Returns:
0 on success, -1 on error

Here is the call graph for this function:


Generated on Sat Feb 28 05:02:48 2004 by doxygen 1.3.3