GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LRA / V5-2-0 > lra / rad750


Interface   Data Structures   File List   Data Fields   Globals  

LRA_readEsr.c File Reference

Routines to read the error and status registers. More...

#include "LRA_p.h"
#include "LRA/LRA_msgs.h"
#include "MSG/MSG_pubdefs.h"
#include "LEM/defs.h"
#include "LEM/encode.h"
#include "LEM/decode.h"
#include "LEM/list.h"
#include "LEM/list_macros.h"
#include <string.h>

Functions

unsigned LRA_readEsr (LRA_esrData *esr)
 Read the error and status registers.
unsigned LRA_doReadEsr (LEM_micr *crl, LRA_esrData *esr)
 Internal routine to read the error and status registers.


Detailed Description

Routines to read the error and status registers.

Author:
Owen H Saxton
$Id: LRA_readEsr.c,v 1.5 2009/07/31 22:07:25 saxton Exp $

Function Documentation

unsigned LRA_doReadEsr ( LEM_micr *  crl,
LRA_esrData esr 
)

Internal routine to read the error and status registers.

This routine reads and stores the contents of a pre-determined set of LAT error and status registers. No error is produced if any of the reads times out.

Parameters:
crl The address of a multi-item command/response list to be used in the register operations.
esr The address of an area to receive the register values
Return values:
LRA_SUCCESS The registers were read successfully

unsigned LRA_readEsr ( LRA_esrData esr  ) 

Read the error and status registers.

The internal routine is called to read and store the contents of a pre-determined set of LAT error and status registers. No error is reported if a read operation times out.

Parameters:
esr The address of an area to receive the register values
Return values:
LRA_SUCCESS The registers were read successfully
ITC_SENDTID Destination task (LRA) not started


Generated on Fri Jul 31 15:37:09 2009 by  doxygen 1.5.3