GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTS / V2-0-0
Constituent: cts_scp_enet     Tag: mv2304
#include <string.h>
#include "PBI/Endianness.h"
#include "CCSDS/CCSDS_pkt.h"
#include "PBS/MBA.h"
#include "MSG/MSG_pubdefs.h"
#include "CTS/CTS_pubdefs.h"
#include "CTS/CTS_msgs.h"
#include "CTS_prvdefs.h"
Include dependency graph for CRX_control.c:
Functions | |
unsigned int | checkState (CTS_ControlState creq, CRX_ServiceType styp, CRX_ServiceState sreq, const char *func) |
Check the state of master and task control blocks. | |
unsigned int | validType (CRX_ServiceType typ) |
Validate service type. | |
void | CRX_recvCmd (void *prm) |
Dispatch telecommand packets arriving at the CTDB device. | |
unsigned int | CRX_createService (CRX_ServiceType typ, CRX_cb_Driver *rtn, void *prm) |
Create a CTDB (1553) receive service block. | |
unsigned int | CRX_deleteService (CRX_ServiceType typ) |
Delete a CTDB (1553) receive service block. | |
unsigned int | CRX_startService (CRX_ServiceType typ, TASK_attr *attr) |
Start a CTDB (1553) receive service. | |
unsigned int | CRX_stopService (CRX_ServiceType typ) |
Start a CTDB (1553) receive service. | |
Variables | |
const char * | CRX_svc_states [CRX_L_SVC_STATES] |
String constants for CRX service block states. | |
void * | CRX_svcTask [CRX_L_SVC_TYPES] |
Entry points for the receive tasks (by receive service type). |
CVS $Id: CRX_control.c,v 1.1 2005/03/18 03:40:02 apw Exp $
A.P.Waite
|
Check the state of master and task control blocks.
|
|
Create a CTDB (1553) receive service block.
|
Here is the call graph for this function:
|
Delete a CTDB (1553) receive service block.
|
Here is the call graph for this function:
|
Dispatch telecommand packets arriving at the CTDB device.
The only thing left to validate is the checksum (not done in the driver because it's running at interrupt level). If the checksum is OK, this routine calls the service routine set up during CRX initialization. |
|
Start a CTDB (1553) receive service.
|
Here is the call graph for this function:
|
Start a CTDB (1553) receive service.
|
Here is the call graph for this function:
|
Validate service type.
|
|
Initial value: { "uninitialized", "initialized", "started" }
|
|
Initial value: { &CRX_recvCmd, &CRX_recvTlm }
|