GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > ISIS / V0-0-3
Constituent: isisSC     Tag: mcp750
#include <stdio.h>
#include <stdlib.h>
#include "ISIS/ISIS_cmd.h"
#include "PBS/TASK.h"
#include "PBS/WUT.h"
#include "PBS/FORK.h"
#include "LCBD/LCBD_drv.h"
#include "CLI/CLI_pubdefs.h"
#include "ITC/ITC_pubdefs.h"
#include <unistd.h>
#include <time.h>
Include dependency graph for isisPrivate.h:

This graph shows which files directly or indirectly include this file:

Data Structures | |
| struct | ISIS_Control |
| ISIS variables. More... | |
Defines | |
| #define | PRINTF(_args) |
| NOPs terminal debug output. | |
| #define | SLEEP(_tSecs) sleep(_tSecs) |
| Sleep for VxWorks. | |
| #define | ISIS_NUM_CMDS 200 |
| Record for calling function based on APID and function code. | |
Enumerations | |
| enum | ISIS_State { NOT_INIT = 0, INIT = 1, MAIN_FEED_ON = 2 } |
| ISIS states. More... | |
| enum | ISIS_FuncCode { ISIS_SC_REPT_FC = 2, ISIS_LAT_REPT_REPLY_FC = 0, ISIS_LAT_LDSHED_FC = 1, ISIS_LAT_HTR_OFFON_FC = 2, ISIS_LAT_REPT_GEN_FC = 3, ISIS_LAT_DRV_DISCRETE_FC = 4, ISIS_LAT_MON_DISCRETE_FC = 5, ISIS_LAT_SCI_DATA_FC = 6, ISIS_LAT_STOP_SCI_FC = 7, ISIS_LAT_SEL_SCI_FC = 8, ISIS_LAT_NOOP_FC = 10, ISIS_LAT_REBOOT_FC = 11, ISIS_LAT_REQ_ALERT_FC = 12, ISIS_LAT_MAIN_FD_ON_FC = 16, ISIS_LAT_POWER_ON_FC = 17, ISIS_LAT_POWER_OFF_FC = 18, ISIS_LAT_MON_COUNTS_FC = 19, ISIS_LAT_CLR_SCI_STATS_FC = 20, ISIS_LAT_GET_SCI_STATS_FC = 21, ISIS_LAT_GET_HW_CNFG_FC = 22, ISIS_LAT_GET_SW_CNFG_FC = 23, ISIS_GBM_CALC_INFO_FC = 1, ISIS_GBM_REPT_REC_FC = 2, ISIS_GBM_CLOSE_OUT_FC = 3, ISIS_SC_ATTITUDE_FC = 1, ISIS_SC_ANCILLARY_FC = 2, ISIS_SC_TIMETONE_FC = 3 } |
| Function codes used by ISIS software. | |
| enum | ISIS_Apid { ISIS_GBM_CMD_APID = 0x660, ISIS_LAT_CMD_APID = 0x688, ISIS_SC_REPT_APID = 0x600, ISIS_LAT_REPT_REPLY_APID = 0x661, ISIS_LAT_LDSHED_APID = 0x688, ISIS_SC_BROADCAST_APID = 0x701, ISIS_SCI_DATA_APID = 0x3B6 } |
| APIDs used by ISIS software. | |
| enum | ISIS_TaskId { ISIS_LAT_TASK_ID = 20, ISIS_SC_TASK_ID = 25 } |
| Task IDs used by ISIS software. | |
Functions | |
| unsigned int | ISIS_StopTask () |
| Stop and shut down the "ISIS task". | |
| void * | ISIS_BldCmdPkt (void *pyLd, int pSz, int appId, int fc) |
| Build CCSDS telecommand packet with given payload. | |
| void * | ISIS_BldTlmPkt (void *pyLd, int pSz, int appId) |
| Build CCSDS telemetry packet with given payload. | |
| unsigned int | ISIS_SendPkt (unsigned char *pkt, unsigned qid, unsigned nid, unsigned tid) |
| Send a CCSDS telecommand packet to the spacecraft. | |
| unsigned int | ISIS_SndRept () |
| Exercise function to issue repoint command to spacecraft. | |
| void | ISIS_StartTlmSim () |
| Start simulation for housekeeping telemetry. | |
| FORK_cb_status | ISIS_StartTlmWut (FORK_cb_prm prm, FORK_msg_hdr *hdr) |
| Start WUT for telemetry simulation. | |
| WUT_cb_status | ISIS_TlmWut (void *prm, WUT_tmr *wut) |
| Reset WUT for telemetry simulation. | |
| FORK_cb_status | ISIS_TlmSim (FORK_cb_prm prm, FORK_msg_hdr *hdr) |
| Call LHK to fill telemetry packet and send. | |
| int | ISIS_StartWatchdog (int prd, int v) |
| Start watchdog timer reset task. | |
| void | ISIS_WDogTask (void *isisCtl) |
| Periodically resets watchdog timer. | |
|
|
Sleep for VxWorks.
|
|
|
ISIS states.
|
|
||||||||||||||||||||
|
Build CCSDS telecommand packet with given payload.
|
|
||||||||||||||||
|
Build CCSDS telemetry packet with given payload.
|
|
||||||||||||||||||||
|
Send a CCSDS telecommand packet to the spacecraft.
|
|
|
Exercise function to issue repoint command to spacecraft.
|
|
||||||||||||
|
Start WUT for telemetry simulation.
|
|
||||||||||||
|
Start watchdog timer reset task.
|
|
|
Stop and shut down the "ISIS task".
|
|
||||||||||||
|
Call LHK to fill telemetry packet and send.
|
|
||||||||||||
|
Reset WUT for telemetry simulation.
|
|
|
Periodically resets watchdog timer.
|
1.3.3