GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LHK / V11-4-2
Constituent: lhkt     Tag: linux-gcc
#include <string.h>
#include "PBS/MBA.h"
#include "PBS/LI.h"
#include "CTDB/CTDB_rt.h"
#include "CTS/CTS_pubdefs.h"
#include "LHK_p.h"
#include "LHK/LHK_cmdxtrn.h"
#include "LHK/LHK_msgs.h"
#include "CDM/CDM_pubdefs.h"
#include "CPU_DB/CPU_DB_pubdefs.h"
#include "LHK_DB/LHK_DB_schema.h"
#include "TRC/TRC_pubdefs.h"
Include dependency graph for LHK_ctl.c:
Functions | |
static unsigned int | LHK_init_alloc (void) |
Allocates all memory for the global control blocks. | |
static FORK_cb_status | LHK_crHandler (FORK_cb_prm *prm, FORK_msg_hdr *hdr) |
The LHK command/response handler. | |
static FORK_cb_status | LHK_svc_ctdb (FORK_cb_prm *prm, FORK_msg_hdr *hdr) |
Services the CTDB callback with the next scheduled packet. | |
static FORK_cb_status | LHK_svc_reset (FORK_cb_prm *prm, FORK_msg_hdr *hdr) |
Services system reset command. | |
static WUT_cb_status | LHK_diag_intv_cb (void *ptr, WUT_tmr *wut) |
The diagnostic timer. | |
unsigned int | LHK_init (void) |
Initializes the housekeeping system. | |
unsigned int | LHK_initialize (unsigned int arg0, unsigned int arg1, unsigned int arg2, unsigned int arg3) |
Initializes the housekeeping system. | |
unsigned int | LHK_startTask (TASK_attr sched_attr, TASK_attr cmd_attr) |
Starts all LHK tasks with attribute blocks. | |
unsigned int | LHK_start (void) |
Starts all LHK tasks. | |
unsigned int | LHK_stop (void) |
Stops all LHK tasks and resets all control structures. | |
unsigned int | LHK_shutdown (void) |
Shuts down LHK and frees memory structures. | |
void | LHK_free_fpm (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2) |
Frees a qitem from FPA pool memory. | |
unsigned int | LHK_ccb_cb (LHK_Ccb *ccb) |
Simple callback for non-hardware ccbs. | |
unsigned int | LHK_lcb_cb (void *prm, LCBD_xcb *xcb) |
Callback for the LCB result list. | |
unsigned int | LHK_ctdb_cb (void *pkt, void *arg) |
This function is the CTDB 1553 callback routine. The CTDB driver requests a new telemetry packet at 4Hz. | |
unsigned int | LHK_diag_cb (void *item) |
Initiaites construction of a diagnostic packet. | |
unsigned int | LHK_stopDiag_cb (void) |
Cancels current diagnostic. | |
unsigned int | LHK_reset_cb (void *pay) |
Initiates a system reset. | |
unsigned int | LHK_noop (void) |
LHK noop. | |
Variables | |
_LHK_Ctl | LHK_ctl |
The application control block. |
|
Simple callback for non-hardware ccbs.
|
|
The LHK command/response handler.
|
|
This function is the CTDB 1553 callback routine. The CTDB driver requests a new telemetry packet at 4Hz.
|
|
Initiaites construction of a diagnostic packet.
|
|
The diagnostic timer.
|
|
Frees a qitem from FPA pool memory.
|
|
Initializes the housekeeping system.
|
|
Allocates all memory for the global control blocks.
|
|
Initializes the housekeeping system.
|
|
Callback for the LCB result list.
|
|
LHK noop.
|
|
Initiates a system reset.
|
|
Shuts down LHK and frees memory structures.
|
|
Starts all LHK tasks.
|
|
Starts all LHK tasks with attribute blocks.
|
|
Stops all LHK tasks and resets all control structures.
|
|
Cancels current diagnostic.
|
|
Services the CTDB callback with the next scheduled packet.
|
|
Services system reset command.
|