fwCcpc Library Documentation

2.13

Library of PVSS functions to operate with CCPC (GPIO (General Purpose I/O lines), I2C (Inter-Integrated Circuit), JTAG (Joint Test Action Group), LBUS (Local Bus) & GBE (Gigabit Ethernet))

Usage: JCOP framework internal, public

PVSS manager usage: VISION, CTRL

NOTE: There are two error code conventions - unluckily logically distinctive! Functions which return a boolean give 'true' if the execution was successfull and 'false' if an error was encountered. Functions which interact with the server, return the server's return code - standard Linux: '0' if everything was ok and a positive number related to the type of error. If an error happens inside PVSS '-1' is returned.

Functions for handling scripts were removed from this documentation, as similar functions exist in the fwHw framework. This eases maintenance. However the previous functions are still available within this framework to ensure backward compatibility. Link to the fwHw documentation: http://lhcb-online.web.cern.ch/lhcb-online/ecs/FWHW/default.html

ATTENTION: All functions were updated to be used in distributed systems, mainly passing the distribution name and the ccpc name separated by a semicolon e.g. "dist1:tell031". (see the specific description for each function) The specific hardware access e.g. functions under sections "I2C", "LBUS" and "GBE" however are not enabled and can just be used locally. Note that in distributed systems and in general you should use the functions under section "Register" which are related to the fwHw tool. That basically means you should model your hardware as PVSS datapoints!




Generated on Tue Oct 9 11:35:46 2007 for FwCcpc by  doxygen 1.5.1-p1