Doxygen Documentation

Main Index

Package Index

Package:

GDAB

Version:

dev

Marked:

(not marked)

Constituent:

gdab

Tag:

mv2304


Interface   Compound List   File List   Compound Members   File Members  

gGEMVG.c File Reference

Implements command/response for the GEMVG. More...

#include <string.h>
#include "GDAB/gGEMVG.h"
#include "GDAB/gDAB.h"
#include "gGEM_p.h"
#include "gDAB_p.h"

Functions

int gGEMVGload (gdabHandle gdab, unsigned short reg, gemVGHandle value)
 Loads a register with value.

int gGEMVGread (gdabHandle gdab, unsigned short reg, gemVGHandle value)
 Reads a register returing value in val.


Detailed Description

Implements command/response for the GEMVG.

Author:
James Swain -- jswain@slac.stanford.edu

Function Documentation

int gGEMVGload gdabHandle  gdab,
unsigned short  reg,
gemVGHandle  value
 

Loads a register with value.

Parameters:
gdab gdabHandle for GEM
reg register of GEMVG to load
value 96-bit value to load into GEMVG register
Returns:
G_OK on success
Loads the GEMVG register specified by reg with value

int gGEMVGread gdabHandle  gdab,
unsigned short  reg,
gemVGHandle  value
 

Reads a register returing value in val.

Parameters:
gdab gdabHandle for GEM
reg register of GEMVG to read
value pointer to storage to hold the response of the read command
Returns:
G_OK on success
Reads the GEMVG register specified by reg. val is filled on return.

The following error codes are returned when LATp errors occur:

  • GERR_LATP_HEADER_PARITY
  • GERR_LATP_CELL_PARITY
  • GERR_LATP_TRUNCATE


Generated on Wed Nov 19 14:55:04 2003 by doxygen 1.3.3