GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CTDB / V5-5-6 > ctdb_com_test_poll / rad750


Interface   Data Structures   File List   Data Fields   Globals  

ctdb_com_test_private.h File Reference

Telecommand and telemetry definitions for 1553 RT communications test application. More...


Classes

struct  _TC_Com_Test_Param
struct  _TLM_Com_Test_Item
struct  _TC_SIANCILLARY_Param

Defines

#define APID_TC_LAT_DIAG   0x646
#define APID_TC_SC_BROADCAST   0x701
#define APID_TLM_LAT_COM_TEST_DIAG   0x26f
#define APID_TLM_LAT_COM_TEST_ALERT   0x34f
#define APID_TLM_LAT_COM_TEST_HKP   0x20f
#define FUNC_CODE_LAT_DIAG_COM_TEST   0
#define FUNC_CODE_SC_SITIMETONE   1
#define FUNC_CODE_SC_SIANCILLARY   2
#define FUNC_CODE_SC_SIATTITUDE   3
#define TC_COM_TEST_PARAM_SIZE   8
#define TC_COM_TEST_DATA_SIZE   44
#define TC_COM_TEST_M_RESP_TYPE   0x3800
#define TC_COM_TEST_M_PAT_LENGTH   0x0700
#define TC_COM_TEST_M_PAT_SELECT   0x00ff
#define TC_COM_TEST_S_RESP_TYPE   11
#define TC_COM_TEST_S_PAT_LENGTH   8
#define TC_COM_TEST_S_PAT_SELECT   0
#define TLM_COM_TEST_ITEM_SIZE   8
#define TLM_COM_TEST_HKP_SIZE   94

Typedefs

typedef struct _TC_Com_Test_Param TC_Com_Test_Param
typedef enum _TC_Com_Test_Resp_Type TC_Com_Test_Resp_Type
typedef enum
_TC_Com_Test_Pat_Select 
TC_Com_Test_Pat_Select
typedef struct _TLM_Com_Test_Item TLM_Com_Test_Item
typedef struct
_TC_SIANCILLARY_Param 
TC_SIANCILLARY_Param

Enumerations

enum  _TC_Com_Test_Resp_Type {
  TC_COM_TEST_RESP_HKP = 0,
  TC_COM_TEST_RESP_DIAG = 1,
  TC_COM_TEST_RESP_ALERT = 2
}
enum  _TC_Com_Test_Pat_Select {
  TC_COM_TEST_PAT_ALL_0 = 0,
  TC_COM_TEST_PAT_ALL_1 = 1,
  TC_COM_TEST_PAT_INCR = 2,
  TC_COM_TEST_PAT_DECR = 3,
  TC_COM_TEST_PAT_DATA = 4
}


Detailed Description

Telecommand and telemetry definitions for 1553 RT communications test application.

Author:
D.L. Wood

Define Documentation

#define APID_TC_LAT_DIAG   0x646

APID for LAT diagnostics telecommands.

Referenced by rt_pkt_cmd_rx().

#define APID_TC_SC_BROADCAST   0x701

APID for SC broadcast telecommands.

Referenced by rt_pkt_cmd_rx().

#define APID_TLM_LAT_COM_TEST_ALERT   0x34f

APID for LAT communication test alert response telemetry.

#define APID_TLM_LAT_COM_TEST_DIAG   0x26f

APID for LAT communication test dianostic response telemetry.

#define APID_TLM_LAT_COM_TEST_HKP   0x20f

APID for LAT communication test dianostic response telemetry.

Referenced by rt_pkt_hkp().

#define FUNC_CODE_LAT_DIAG_COM_TEST   0

Function code to indicate communications test telecommand (APID=APID_TC_LAT_DIAG).

Referenced by rt_pkt_diag().

#define FUNC_CODE_SC_SIANCILLARY   2

Function code to indicate SC ancillary data telecommand.

Referenced by rt_pkt_sc().

#define FUNC_CODE_SC_SIATTITUDE   3

Function code to indicate SC attitude data telecommand.

Referenced by rt_pkt_sc().

#define FUNC_CODE_SC_SITIMETONE   1

Function code to indicate SC time tone telecommand.

Referenced by rt_pkt_sc().

#define TC_COM_TEST_DATA_SIZE   44

The maximum size in bytes of the communications test telcommand pattern data area.

Referenced by rt_pkt_diag().

#define TC_COM_TEST_M_PAT_LENGTH   0x0700

Bit mask to extract pattern length from com test flags member.

Referenced by rt_pkt_diag(), and rt_pkt_hkp().

#define TC_COM_TEST_M_PAT_SELECT   0x00ff

Bit mask to extract pattern select from com test flags member.

Referenced by rt_pkt_diag(), and rt_pkt_hkp().

#define TC_COM_TEST_M_RESP_TYPE   0x3800

Bit mask to extract response type from com test flags member.

Referenced by rt_pkt_diag().

#define TC_COM_TEST_PARAM_SIZE   8

The size in bytes of the communications test telecommand parameters.

Referenced by rt_pkt_diag().

#define TC_COM_TEST_S_PAT_LENGTH   8

The number of shift bits to extract pattern length from com test flags member.

Referenced by rt_pkt_diag(), and rt_pkt_hkp().

#define TC_COM_TEST_S_PAT_SELECT   0

The number of shift bits to extract pattern length from com test flags member.

Referenced by rt_pkt_diag(), and rt_pkt_hkp().

#define TC_COM_TEST_S_RESP_TYPE   11

The number of shift bits to extract response type from com test flags member.

Referenced by rt_pkt_diag().

#define TLM_COM_TEST_HKP_SIZE   94

The size in bytes of a communications test HKP packet data response.

Referenced by rt_init(), and rt_pkt_hkp().

#define TLM_COM_TEST_ITEM_SIZE   8

The size in bytes of the communications test telemetry items.

Referenced by rt_init(), rt_pkt_fill(), and rt_pkt_hkp().


Typedef Documentation

The typedef for _TC_Com_Test_Param.

The typedef for _TC_Com_Test_Pat_Select.

The typedef for _TC_Com_Test_Resp_Type.

The typedef for _TC_SIANCILLARY_Param.

The typedef for _TLM_Com_Test_Item.


Enumeration Type Documentation

Values for the pattern select from com test flags member.

Values for the response type from com test flags member.


Generated on Wed Nov 21 20:06:45 2012 by  doxygen 1.5.8