GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CTS / dev > cts_lcp_sumt / rad750


Interface   Data Structures   File List   Data Fields   Globals  

CTS_lcp_sumt.c File Reference

Initialization for an (1553) remote terminal device. More...

#include <MSG/MSG_pubdefs.h>
#include <CTDB/CTDB_config.h>
#include <CTDB/CTDB_rt.h>
#include <CTDB/SUMT_rt.h>
#include <CTS/CTS_msgs.h>
#include <CTS_prvdefs.h>

Functions

static unsigned int CTS_defaultHousekeeping (void *buf, void *prm)
 Default housekeeping callback.
unsigned int CTS_initDevice (void *dev, void *addr)
 Initialize the 1553 remote terminal.

Variables

static SUMT_RT_Bus_Config busConfig
 The remote terminal driver bus configuration.
static const SUMT_RT_Pkt_Config pktConfig
 The remote terminal driver packet configuration.
static const
SUMT_RT_Callback_Config 
cbConfig
 The remote terminal driver housekeeping callback configuration.
static const SUMT_RT_Task_Config taskConfig
 The remote terminal driver task configuration.


Detailed Description

Initialization for an (1553) remote terminal device.

CVS $Id: CTS_lcp_sumt.c,v 1.3 2011/03/28 23:55:14 apw Exp $
Author:
D.L.Wood

A.P.Waite

Derived from original work by Dan Wood

Function Documentation

static unsigned int CTS_defaultHousekeeping ( void *  buf,
void *  prm 
) [static]

Default housekeeping callback.

Parameters:
buf Buffer into which to place housekeeping data
prm User context parameter (not used)
This function is a no-op. It returns CTDB_TIMEOUT to inform the CTDB driver that no HKP telemetry is currently available. It is expected that the LHK application will replace this callback once it starts.

Return values:
CTDB_TIMEOUT Always

void * CTS_initDevice ( void *  dev,
void *  addr 
)

Initialize the 1553 remote terminal.

Parameters:
dev The driver handle
addr The remote terminal address
Returns:
Return code from SUMT_rtInit or SUMT_rtHkpSet

Referenced by CTS_createDevice().


Variable Documentation

static const SUMT_RT_Callback_Config cbConfig [static]

Initial value:

The remote terminal driver housekeeping callback configuration.

static const SUMT_RT_Pkt_Config pktConfig [static]

Initial value:

 
{
    32,                               
    CTDB_CONFIG_PKT_SIZE_CMD_RX,      
    8,                                
    4,                                
    CTDB_CONFIG_PKT_SIZE_CMD_TX,      
    32,                               
    128,                              
    CTDB_CONFIG_PKT_SIZE_TELEM,       
    CTDB_CONFIG_PKT_SIZE_HKP          
}
The remote terminal driver packet configuration.

static const SUMT_RT_Task_Config taskConfig [static]

Initial value:

 
{
    {
        "dRT",                        
        60,                           
        0,                            
        NULL,                         
        0x2000                        
    },
    MSG_LVL_INFORMATION,
}
The remote terminal driver task configuration.


Generated on Mon Mar 28 17:03:28 2011 by  doxygen 1.5.8