Constants


Variables

const int FWHW_GENERIC = 0
const int FWHW_SPECS = 1
const int FWHW_CCPC = 2
const int FWHW_I2C = 0
const int FWHW_JTAG = 1
const int FWHW_PBUS = 2
const int FWHW_REG = 3
const int FWHW_DCU = 4
const int FWHW_LBUS = 5
const int FWHW_GBE = 6
const int FWHW_DCUChannel = 7
const int FWHW_UserSpecific = 10
const int FWHW_Float = 20
const int FWHW_Int = 21
const int FWHW_String = 22
const int FWHW_DynFloat = 23
const int FWHW_DynInt = 24
const int FWHW_DynString = 25

Detailed Description

These constants are used as parameters by the framework functions when creating hardware types. Two types of hardware exist: FWHW_SPECS and FWHW_CCPC. Both distinguish by a different number of common settings (in the case of FWHW_CCPC just the name of the credit card PC) and a different set of available registers. For example FWHW_DCUChannel is unique to the SPECS system whereas FWHW_GBE is only used by the CCPC. A parallel bus register inside the SPECS system is represented by fwHW_PBUS whereas in the CCPC system it has to be created with FWHW_LBUS. If a hardware can be inserted into both types, it can be represented by FWHW_GENERIC and is adopted upon insertion. In some cases it might be usefull to hold also plain variables inside a hardware structure. A set of the most common ones can also be provided via the fwHw tool.

NEW: To be 'forward' compatible with new demands for user-specific registers requiring implementations on the server side, a new register type was introduced: 'UserSpecific'. If you use this type you have a set of generic parameters to describe your user-specific register, which are then interpretated in a special manner by the server. Note that the usage requires some intervention on the server side. Your register has to be assigned a type-id. So far a FiFo and a select-register-access was implemented.


Variable Documentation

const int FWHW_CCPC = 2

This constant represents hardware of type CCPC (Credit-Card PC).

const int FWHW_DCU = 4

This constant represents register of type DCU (Detector Control Unit).

const int FWHW_DCUChannel = 7

This constant represents register of type DCUhannel (Detector Control Unit).

const int FWHW_DynFloat = 23

This constant represents a dynamic array of type float.

const int FWHW_DynInt = 24

This constant represents a dynamic array of type integer.

const int FWHW_DynString = 25

This constant represents a dynamic array of type string.

const int FWHW_Float = 20

This constant represents a variable of type float.

const int FWHW_GBE = 6

This constant represents register of type GBE (Gigabit Ethernet).

const int FWHW_GENERIC = 0

This constant represents hardware of type generic (i.e., can be "used" for SPECS or CCPC).

const int FWHW_I2C = 0

This constant represents register of type I2C (Inter-Integrated Circuit).

const int FWHW_Int = 21

This constant represents a variable of type integer.

const int FWHW_JTAG = 1

This constant represents register of type JTAG (Joint Test Action Group).

const int FWHW_LBUS = 5

This constant represents register of type LBUS (Local Bus).

const int FWHW_PBUS = 2

This constant represents register of type PBUS (Parallel Bus).

const int FWHW_REG = 3

This constant represents register of type REG (Register).

const int FWHW_SPECS = 1

This constant represents hardware of type SPECS (Serial Protocol Experiment Control Systems).

const int FWHW_String = 22

This constant represents a variable of type string.

const int FWHW_UserSpecific = 10

This constant represents register of type UserSpecific (can be tailored for user specific needs on server side).


Generated on Mon Jan 28 10:40:19 2008 for FwHw by  doxygen 1.4.7