GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LRA / V5-2-0 > lra / rad750
#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. |
$Id: LRA_readEsr.c,v 1.5 2009/07/31 22:07:25 saxton Exp $
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.
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 |
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.
esr | The address of an area to receive the register values |
LRA_SUCCESS | The registers were read successfully | |
ITC_SENDTID | Destination task (LRA) not started |