board Class Reference

Implements dacBoard & adcBoard common features. More...

Inheritance diagram for board:

adcBoard dacBoard dacBoardVirtex4 dacBoardVirtexII

List of all members.

Public Member Functions

bool IsVirtex4 ()
 Shows whether the FPGA mounted on the board is a Virtex4 model.
bool HasRFFEControl ()
 Shows whether the FPGA is programmed with RFFE capabilities.
bool ChannelGains (array< System::Int16 >^Gains)
 Adjusts channel gains.
unsigned int ReadFPGAReg (unsigned int Reg)
 Reads FPGA register.
unsigned int WriteFPGAReg (unsigned int Reg, unsigned int Data)
 Writes FPGA register.


Detailed Description

Implements dacBoard & adcBoard common features.


Member Function Documentation

bool IsVirtex4 (  ) 

Shows whether the FPGA mounted on the board is a Virtex4 model.

Returns:
True if Virtex4 based.

bool HasRFFEControl (  ) 

Shows whether the FPGA is programmed with RFFE capabilities.

Returns:
True if RFFE capable.

bool ChannelGains ( array< System::Int16 >^  Gains  ) 

Adjusts channel gains.

ADCs are DC coupled with no programmable gain.

Parameters:
Gains Gains values for all board channels.
Returns:
True if successful.

unsigned int ReadFPGAReg ( unsigned int  Reg  ) 

Reads FPGA register.

Parameters:
Reg Register to read from.
Returns:
Data read from the given register.

unsigned int WriteFPGAReg ( unsigned int  Reg,
unsigned int  Data 
)

Writes FPGA register.

Parameters:
Reg Register to write into.
Data Data to write.
Returns:
Written data if successful.


The documentation for this class was generated from the following files:

© 2009 - Grupo de Tratamiento Avanzado de Señal logo_gtas