GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTS / V2-3-1
Constituent: cts_scp_enet     Tag: linux-gcc
#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 | |
static unsigned int | checkState (CTS_ControlState creq, CRX_ServiceType styp, CRX_ServiceState sreq, const char *func) |
Check the state of master and task control blocks. | |
static unsigned int | validType (CRX_ServiceType typ) |
Validate service type. | |
static 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.3 2005/08/30 23:32:46 apw Exp $
A.P.Waite
|
Check the state of master and task control blocks.
|
|
Create a CTDB (1553) receive service block.
|
|
Delete a CTDB (1553) receive service block.
|
|
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.
|
|
Start a CTDB (1553) receive service.
|
|
Validate service type.
|
|
Initial value: { "uninitialized", "initialized", "started" }
|
|
Initial value: { &CRX_recvCmd, &CRX_recvTlm }
|