GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CTS / V2-3-2 > cts_lcp_enet / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

CTS_lcp_enet.c File Reference

Initialization for an (ethernet simulation) remote terminal device. More...

#include <stdio.h>
#include <MSG/MSG_macdefs.h>
#include <CTDB/CO1553_rt_sim.h>
#include <CTDB/CTDB_config.h>

Functions

unsigned int CTS_initDevice (void *dev, void *addr)
 Initialize the ethernet simulation of the remote terminal.

Variables

static CO1553_RT_Sim_Config simConfig
 The global instance of the simulator configuration.


Detailed Description

Initialization for an (ethernet simulation) remote terminal device.

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

A.P.Waite


Function Documentation

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

Initialize the ethernet simulation of the remote terminal.

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

Referenced by CTS_createDevice().


Variable Documentation

static CO1553_RT_Sim_Config simConfig [static]

Initial value:

{
    8000,                             
    CTDB_CONFIG_PKT_SIZE_CMD_RX,      
    8,                                
    4,                                
    8001,                             
    CTDB_CONFIG_PKT_SIZE_CMD_TX,      
    8002,                             
    CTDB_CONFIG_PKT_SIZE_TELEM        
}
The global instance of the simulator configuration.


Generated on Fri Sep 30 18:50:21 2011 by  doxygen 1.5.8