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


Interface   Data Structures   File List   Data Fields   Globals  

CTS_scp_sumt.c File Reference

The device routines for a summit 1553 device. More...

#include <stdio.h>
#include <MSG/MSG_pubdefs.h>
#include <CTDB/SUMT_bc.h>
#include <CTDB/CTDB_config.h>

Functions

unsigned int CTS_initDevice (void *dev, void *addr)
 Initialize the 1553 bus controller.

Variables

static SUMT_BC_Bus_Config busConfig
 The bus controller driver configuration.
static const SUMT_BC_Pkt_Config pktConfig
 The bus controller driver packet configuration.
static const SUMT_BC_Task_Config taskConfig
 The bus controller driver task configuration.


Detailed Description

The device routines for a summit 1553 device.

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

A.P.Waite

Derived from original work by Dan Wood

Function Documentation

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

Initialize the 1553 bus controller.

Parameters:
dev (in) The driver handle
addr (in) The remote terminal address
Returns:
Return code from SUMT_bcInit

Referenced by CTS_createDevice().


Variable Documentation

static const SUMT_BC_Pkt_Config pktConfig [static]

Initial value:

 
{
    4,                                
    CTDB_CONFIG_PKT_SIZE_CMD_RX,      
    4,                                
    CTDB_CONFIG_PKT_SIZE_CMD_TX,      
    32,                               
    CTDB_CONFIG_PKT_SIZE_TELEM        
}
The bus controller driver packet configuration.

static const SUMT_BC_Task_Config taskConfig [static]

Initial value:

 
{
    {
        "uBC",                        
        60,                           
        0,                            
        NULL,                         
        0x2000                        
    },
    MSG_LVL_INFORMATION,
}
The bus controller driver task configuration.


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