GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTDB / V5-2-1

Constituent: ctdb_unit_test     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

ctdb_unit_test_private.h File Reference

CTDB package unit test private definitions. More...

#include "PBS/RW.h"

Include dependency graph for ctdb_unit_test_private.h:

Include dependency graph

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

Included by dependency graph

Defines

#define CO1553_ARG_VALUE_0   (void*) 0x12345678
#define CO1553_ARG_VALUE_1   (void*) 0xabcd0123

Functions

int co1553_rt_sim_test_sizeof (void)
int co1553_rt_sim_test_param (void)
int co1553_bc_sim_test_sizeof (void)
int co1553_bc_sim_test_param (void)
int co1553_rt_test_sizeof (void)
int co1553_rt_test_param (void)
int co1553_rt_test_cmd_rx (void)
int co1553_rt_test_cmd_tx (void)
int co1553_rt_test_telem (void)
int co1553_rt_test_err (void)
int co1553_bc_test_sizeof (void)
int co1553_bc_test_param (void)
int co1553_bc_test_cmd_rx (void)
int co1553_bc_test_cmd_tx (void)
int co1553_bc_test_telem (void)
void co1553_pkt_free (void *pkt, void *arg)
void co1553_mem_copy (void *dest, void *src, unsigned int numWord)

Variables

unsigned short co1553_cmd_rx_msg_0 []
unsigned short co1553_cmd_rx_msg_1 []
unsigned short co1553_cmd_rx_msg_2 []
unsigned short co1553_cmd_rx_msg_3 []
unsigned short co1553_cmd_rx_msg_4 []
unsigned short co1553_cmd_rx_pkt_0 []
unsigned short co1553_cmd_rx_pkt_1 []
unsigned short co1553_cmd_rx_pkt_2 []
unsigned int co1553_cmd_rx_pkt_0_size
unsigned int co1553_cmd_rx_pkt_1_size
unsigned int co1553_cmd_rx_pkt_2_size
unsigned short co1553_cmd_tx_pkt_0 []
unsigned short co1553_cmd_tx_pkt_1 []
unsigned short co1553_cmd_tx_pkt_2 []
unsigned short co1553_cmd_tx_msg_0 []
unsigned short co1553_cmd_tx_msg_1 []
unsigned short co1553_cmd_tx_msg_2 []
unsigned int co1553_cmd_tx_pkt_0_size
unsigned int co1553_cmd_tx_pkt_1_size
unsigned int co1553_cmd_tx_pkt_2_size
unsigned short co1553_hkp_pkt_0 []
unsigned int co1553_hkp_pkt_0_size
unsigned short co1553_hkp_pkt_1 []
unsigned int co1553_hkp_pkt_1_size
unsigned short co1553_telem_pkt_0 []
unsigned short co1553_telem_pkt_1 []
unsigned short co1553_telem_pkt_2 []
unsigned short co1553_telem_msg_0 []
unsigned short co1553_telem_msg_1 []
unsigned short co1553_telem_msg_2 []
unsigned short co1553_telem_msg_3 []
unsigned int co1553_telem_pkt_0_size
unsigned int co1553_telem_pkt_1_size
unsigned int co1553_telem_pkt_2_size
const char * sepStr
const char * sepStr2
RW_ctl diagLock

Detailed Description

CTDB package unit test private definitions.

Author:
D.L. Wood

Define Documentation

#define CO1553_ARG_VALUE_0   (void*) 0x12345678
 

A dummy value passed to the memory allocation callbacks. Used to check that callback arg passing is working correctly.

#define CO1553_ARG_VALUE_1   (void*) 0xabcd0123
 

A dummy value passed to the memory allocation callbacks. Used to check that callback arg passing is working correctly.


Function Documentation

int co1553_bc_sim_test_param void   ) 
 

Performs invalid and out of range tests on parameters for co1553_bc_sim library functions.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_bc_sim_test_sizeof void   ) 
 

Performs checks on return values from co1553_bc_sim sizeof library functions.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_bc_test_cmd_rx void   ) 
 

Performs functional test of telecommand receive interface.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_bc_test_cmd_tx void   ) 
 

Performs functional test of telecommand receive interface.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_bc_test_param void   ) 
 

Performs invalid and out of range tests on parameters for co1553_bc library functions.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_bc_test_sizeof void   ) 
 

Performs checks on return values from co1553_bc sizeof library functions.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_bc_test_telem void   ) 
 

Performs functional test of telemetry interface.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

void co1553_mem_copy void *  dest,
void *  src,
unsigned int  numWord
 

Memory copy function used for the unit tests.

Parameters:
dest The destination address.
src The source address.
numWord The number of 16-bit words to copy.

void co1553_pkt_free void *  pkt,
void *  arg
 

Memory release function used for the unit tests.

Parameters:
pkt A pointer to the packet buffer to free.
arg A user defined argument.

int co1553_rt_sim_test_param void   ) 
 

Performs invalid and out of range tests on parameters for co1553_rt_sim library functions.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_rt_sim_test_sizeof void   ) 
 

Performs checks on return values from co1553_rt_sim sizeof library functions.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_rt_test_cmd_rx void   ) 
 

Performs functional test of telecommand receive interface.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_rt_test_cmd_tx void   ) 
 

Performs functional test of telecommand transmit interface.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_rt_test_err void   ) 
 

Performs test of telecommand receive exception conditions.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_rt_test_param void   ) 
 

Performs invalid and out of range tests on parameters for co1553_rt library functions.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_rt_test_sizeof void   ) 
 

Performs checks on return values from co1553_rt sizeof library functions.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:

int co1553_rt_test_telem void   ) 
 

Performs functional test of telemetry interface.

Return values:
0 Success.
-1 Failure

Here is the call graph for this function:


Variable Documentation

unsigned short co1553_cmd_rx_msg_0[]  ) 
 

Sample 1553 telecommand receive data message. Contains one CCSDS telecommand packet.

APID = 0x640, FC=0, SF=NONE, SC=0, LEN=32

unsigned short co1553_cmd_rx_msg_1[]  ) 
 

Sample 1553 telecommand receive data message. Contains one CCSDS telecommand packet.

APID = 0x641, FC=3, SF=FIRST, SC=10, LEN=54

unsigned short co1553_cmd_rx_msg_2[]  ) 
 

Sample 1553 telecommand receive data message. Contains one CCSDS telecommand packet.

APID = 0x642, FC=2, SF=NONE, SC=1, LEN=2

unsigned short co1553_cmd_rx_msg_3[]  ) 
 

Sample 1553 telecommand receive data message. Contains bogus information - no CCSDS packet header.

unsigned short co1553_cmd_rx_msg_4[]  ) 
 

Sample 1553 telecommand receive data message. Contains one CCSDS telecommand packet with out of range length

APID = 0x642, FC=2, SF=NONE, SC=1, LEN=100

unsigned short co1553_cmd_rx_pkt_0[]  ) 
 

Sample CCSDS telecommand packet.

APID = 0x640, FC=0, SF=NONE, SC=0, LEN=32

unsigned int co1553_cmd_rx_pkt_0_size
 

The size in bytes of co1553_cmd_rx_pkt_0.

unsigned short co1553_cmd_rx_pkt_1[]  ) 
 

Sample CCSDS telecommand packet.

APID = 0x641, FC=3, SF=FIRST, SC=10, LEN=54

unsigned int co1553_cmd_rx_pkt_1_size
 

The size in bytes of co1553_cmd_rx_pkt_1.

unsigned short co1553_cmd_rx_pkt_2[]  ) 
 

Sample CCSDS telecommand packet.

APID = 0x642, FC=2, SF=NONE, SC=1, LEN=2

unsigned int co1553_cmd_rx_pkt_2_size
 

The size in bytes of co1553_cmd_rx_pkt_2.

unsigned short co1553_cmd_tx_msg_0[]  ) 
 

Sample 1553 telecommand transmit msg. Contains on CCSDS telecommand packet.

APID = 0x600, FC=0, SF=NONE, SC=0, LEN=32

unsigned short co1553_cmd_tx_msg_1[]  ) 
 

Sample 1553 telecommand transmit msg. Contains on CCSDS telecommand packet.

APID = 0x601, FC=3, SF=FIRST, SC=10, LEN=54

unsigned short co1553_cmd_tx_msg_2[]  ) 
 

Sample 1553 telecommand transmit msg. Contains on CCSDS telecommand packet.

APID = 0x602, FC=2, SF=NONE, SC=1, LEN=2

unsigned short co1553_cmd_tx_pkt_0[]  ) 
 

Sample 1553 telecommand transmit packet.

APID = 0x600, FC=0, SF=NONE, SC=0, LEN=32

unsigned int co1553_cmd_tx_pkt_0_size  ) 
 

The size in bytes of co1553_cmd_tx_pkt_0.

unsigned short co1553_cmd_tx_pkt_1[]  ) 
 

Sample 1553 telecommand transmit packet.

APID = 0x601, FC=3, SF=FIRST, SC=10, LEN=54

unsigned int co1553_cmd_tx_pkt_1_size  ) 
 

The size in bytes of co1553_cmd_tx_pkt_1.

unsigned short co1553_cmd_tx_pkt_2[]  ) 
 

Sample 1553 telecommand transmit packet.

APID = 0x602, FC=2, SF=NONE, SC=1, LEN=2

unsigned int co1553_cmd_tx_pkt_2_size  ) 
 

The size in bytes of co1553_cmd_tx_pkt_2.

unsigned short co1553_hkp_pkt_0[]  ) 
 

Sample 1553 telemetry HKP packet.

APID = 0x210, SF=NONE, SC=1, LEN=102, SEC=100, SSEC=0

unsigned int co1553_hkp_pkt_0_size  ) 
 

The size in bytes of co1553_hkp_pkt_0.

unsigned short co1553_hkp_pkt_1[]  ) 
 

Sample 1553 telemetry HKP packet.

APID = 0x210, SF=NONE, SC=1, LEN=102, SEC=100, SSEC=0

unsigned int co1553_hkp_pkt_1_size  ) 
 

The size in bytes of co1553_hkp_pkt_1.

unsigned short co1553_telem_msg_0[]  ) 
 

Sample 1553 telemetry message block. Contains 2 CCSDS telemetry packets.

unsigned short co1553_telem_msg_1[]  ) 
 

Sample 1553 telemetry message block. Contains 5 CCSDS telemetry packets.

unsigned short co1553_telem_msg_2[]  ) 
 

Sample 1553 telemetry message block. Contains 2 CCSDS telemetry packets.

unsigned short co1553_telem_msg_3[]  ) 
 

Sample 1553 telemetry message block. Contains 2 CCSDS telemetry packets.

unsigned short co1553_telem_pkt_0[]  ) 
 

Sample 1553 telemetry packet.

APID = 0x260, SF=NONE, SC=5, LEN=800, SEC=400, SSEC=1000

unsigned int co1553_telem_pkt_0_size  ) 
 

The size in bytes of co1553_telem_pkt_0.

unsigned short co1553_telem_pkt_1[]  ) 
 

Sample 1553 telemetry packet.

APID = 0x261, SF=MID, SC=20, LEN=20, SEC=500, SSEC=10000

unsigned int co1553_telem_pkt_1_size  ) 
 

The size in bytes of co1553_telem_pkt_1.

unsigned short co1553_telem_pkt_2[]  ) 
 

Sample 1553 telemetry packet.

APID = 0x265, SF=LAST, SC=21, LEN=12, SEC=500, SSEC=100004

unsigned int co1553_telem_pkt_2_size  ) 
 

The size in bytes of co1553_telem_pkt_2.

diagLock
 

A RW lock for protecting diagnostics structure.

sepStr
 

A display separator line.

sepStr2
 

A display separator line.


Generated on Tue Mar 22 20:44:09 2005 by doxygen 1.3.3