GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LHK / V12-1-0
Constituent: lhk     Tag: linux-gcc
#include <string.h>
#include "ITC/ITC_apidefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LHK/LHK_msgs.h"
#include "MDB/MDB_pubdefs.h"
#include "PBS/FFS.ih"
#include "PBS/INT.ih"
#include "PBS/MBA.h"
#include "PBS/WCT.h"
#include "LHK_prvdefs.h"
Include dependency graph for LHK_diagnostic.c:
Functions | |
static WUT_cb_status | expireTimer (void *prm, WUT_tmr *wut) |
Timer callback to produce a diagnostic packet. | |
static FORK_cb_status | forkBlip (FORK_cb_prm *prm, FORK_msg_hdr *hdr) |
Task level target of the diagnostic timer interrupt. | |
static FORK_cb_status | forkTimer (FORK_cb_prm *prm, FORK_msg_hdr *hdr) |
Task level target of the diagnostic timer interrupt. | |
static void | freePacket (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2, unsigned int tx) |
An ITC completion routine to free a queue item after use. | |
static void | initializePacket (void *prm, void *pkt, int siz, int off) |
Initialize the ITC elements of diagnostic packets. | |
static LHK_PacketStatus | noPacket (void *prm, unsigned int abas, unsigned int aidx, unsigned int seq, unsigned char *out) |
If a packet is not defined, then requests for that packet come here. | |
static unsigned int | sendDiagnostic (unsigned int aidx) |
Timer callback to produce a diagnostic packet. | |
unsigned int | LHK_diagnosticCancel (unsigned int aidx) |
Cancel a diagnostic packet request. | |
unsigned int | LHK_diagnosticInitialize (LHK_Control *lcb) |
Initialize the resources needed to produce diagnostic packets. | |
unsigned int | LHK_diagnosticRequest (unsigned int aidx, unsigned int count, unsigned int delta) |
Cancel a diagnostic packet request. | |
unsigned int | LHK_diagnosticStart (unsigned int aidx, unsigned int count, unsigned int delta) |
Service a diagnostic packet request. | |
Variables | |
LHK_Packet | LHK_packet [ITC_L_APID_HOUSE] |
Packet description and control data, per APID. | |
unsigned int | LHK_noPacketDiagnostic [ITC_L_APID_HOUSE] |
Counters/timeouts for undefined diagnostic packets. | |
unsigned int | LHK_noPacketHousekeeping [ITC_L_APID_HOUSE] |
Counters/timeouts for undefined diagnostic packets. |
CVS $Id: LHK_diagnostic.c,v 1.2 2007/12/07 03:47:29 apw Exp $
|
Timer callback to produce a diagnostic packet.
|
|
Task level target of the diagnostic timer interrupt.
|
|
Task level target of the diagnostic timer interrupt.
|
|
An ITC completion routine to free a queue item after use.
|
|
Initialize the ITC elements of diagnostic packets.
|
|
Cancel a diagnostic packet request.
|
|
Initialize the resources needed to produce diagnostic packets.
|
|
Cancel a diagnostic packet request.
|
|
Service a diagnostic packet request.
The exception is for a count of one. This will never alter the parameters of a diagnostic packet already being produced. The idea here is that a singleton request might come internally from software (e.g. as part of the response to some other command that changes the contents of one of these packets). The software request is essentially orthogonal to a "commanded" request, so the software request should not interfere with "commanded" request. |
|
If a packet is not defined, then requests for that packet come here.
|
|
Timer callback to produce a diagnostic packet.
|