GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTDB / V5-4-0

Constituent: ctdb_rt_test_sumt     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

ctdb_rt_test_sumt.c File Reference

Function definitions for 1553 RT test application using Summit driver. More...

#include "vxWorks.h"
#include "string.h"
#include "stdio.h"
#include "stdlib.h"
#include "CTDB/ctdb_rt_test_sumt.h"
#include "CTDB/CTDB_rt.h"
#include "CTDB/SUMT_rt.h"
#include "CTDB/CTDB_config.h"
#include "CCSDS/CCSDS_pkt.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/WCT.h"
#include "ctdb_rt_test_private.h"

Include dependency graph for ctdb_rt_test_sumt.c:

Include dependency graph

Defines

#define RT_APID_HKP   0x20e
#define RT_SIZE_HKP   102
#define SUMT_RT_TASK_NAME   "uRT"
#define SUMT_RT_TASK_STACK   0x2000
#define SUMT_RT_TASK_PRI   60

Functions

unsigned int rt_pkt_hkp (void *buf, void *arg)
unsigned int rt_null_hkp (void *buf, void *arg)
unsigned int rt_init_dev (void *rt, void *addr)
 Implementation specific device initialization.


Variables

rt_test_config rtTestConfig
SUMT_RT_Bus_Config busConfig
const SUMT_RT_Pkt_Config pktConfig
const SUMT_RT_Callback_Config cbConfig
const SUMT_RT_Task_Config taskConfig

Detailed Description

Function definitions for 1553 RT test application using Summit driver.

Author:
D.L. Wood

Define Documentation

#define RT_APID_HKP   0x20e
 

A fake CCSDS application ID to use for sent HKP telemetry packets.

#define RT_SIZE_HKP   102
 

The size in bytes of the test HKP telemetry packets.

#define SUMT_RT_TASK_NAME   "uRT"
 

The name of the remote terminal service task.

#define SUMT_RT_TASK_PRI   60
 

The priority of the remote terminal service task.

#define SUMT_RT_TASK_STACK   0x2000
 

The size in bytes of the remote terminal service task stack.


Function Documentation

unsigned int rt_init_dev void *  rt,
void *  addr
 

Implementation specific device initialization.

Initializes the Summit RT driver.

Parameters:
rt The driver handle.
addr The RT address.
Returns:
A CTDB MSG code.

Here is the call graph for this function:

unsigned int rt_null_hkp void *  buf,
void *  arg
[static]
 

Driver callback for HKP telemetry packet generation.

Parameters:
buf The buffer for holding the HKP packet.
arg User defined argument.
Returns:
A CTDB MSG code.

unsigned int rt_pkt_hkp void *  buf,
void *  arg
[static]
 

Driver callback for HKP telemetry packet generation.

Parameters:
buf The buffer for holding the HKP packet.
arg User defined argument.
Returns:
A CTDB MSG code.

Here is the call graph for this function:


Variable Documentation

busConfig [static]
 

The RT driver 1553 bus configuration.

cbConfig [static]
 

Initial value:

 
{
        rt_null_hkp, 
        NULL
}
The RT driver callback configuration.

pktConfig [static]
 

Initial value:

The RT driver packet configuration.

rt_test_config rtTestConfig  ) 
 

The global instance of the test application descriptor.

taskConfig [static]
 

Initial value:

 
{
        {
                SUMT_RT_TASK_NAME,
                SUMT_RT_TASK_PRI,
                0,
                NULL,
                SUMT_RT_TASK_STACK
        },
        
        MSG_LVL_INFORMATION,
}
The RT driver task configuration.


Generated on Sun Jul 17 01:08:09 2005 by doxygen 1.3.3