GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CTS / dev > cts_scp_enet / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

CTS_scp_enet.c File Reference

The device routines for an ethernet device. More...

#include <stdio.h>
#include <CTDB/CO1553_bc_sim.h>
#include <CTDB/CTDB_config.h>

Functions

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

Variables

static CO1553_BC_Sim_Config simConfig
 The global instance of the simulator configuration.


Detailed Description

The device routines for an ethernet device.

CVS $Id: CTS_scp_enet.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 ethernet simulation of the bus controller.

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

Referenced by CTS_createDevice().


Variable Documentation

static CO1553_BC_Sim_Config simConfig [static]

Initial value:

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


Generated on Mon Mar 28 16:58:03 2011 by  doxygen 1.5.8