GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> TRD / V0-0-3 > trd / rad750


Interface   Data Structures   File List   Data Fields   Globals  

TRD_control.c File Reference

Control functions for the TRD (turbo-reset database) facility. More...

#include <string.h>
#include <FBS/FBS_pubrtos.h>
#include <MDB/MDB_pubdefs.h>
#include <PBS/MBA.h>
#include <PBS/RW.ih>
#include <PBS/MTX.h>
#include <TRD/TRD_msgs.h>
#include <TRD/TRD_pubdefs.h>
#include <TRD_prvdefs.h>

Functions

unsigned int TRD_initialize ()
 Initialize the tracing facility.

Variables

TRD_ControlTRD_tcb
 Pointer to trace control block (initialized to NULL).


Detailed Description

Control functions for the TRD (turbo-reset database) facility.

CVS $Id: TRD_control.c,v 1.2 2011/03/28 21:41:07 apw Exp $
Author:
A.P.Waite
TRD_control.c provides facilities to initialize the turbo-reset database functions.

Function Documentation

unsigned int TRD_initialize ( void   ) 

Initialize the tracing facility.

Return values:
TRD_ADDHOOK Cannot add task switch hook routine
TRD_ALLOCMEM Cannot allocate memory
TRD_ALLOCMTX Cannot allocate mutex
TRD_BADSTATE Invalid state for operation
TRD_SUCCESS Success
TRD_initialize() builds up the necessary resources.

References _TRD_Control::buf, _TRD_Control::db, _TRD_Control::fak, _TRD_Control::mtx, _TRD_Control::rwi, _TRD_Control::sib, _TRD_Control::state, TRD_CTL_BROKEN, TRD_CTL_INITIALIZED, TRD_CTL_UNINITIALIZED, and TRD_fakeTffsRawio().


Generated on Wed Nov 21 19:56:13 2012 by  doxygen 1.5.8