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  

gGEMIE.h File Reference

command/response methods for the GEM Input Enable register block More...

#include "GDAB/gdab.h"
#include "GDAB/ggem_structs.h"

Functions

int gGEMIEload (gdabHandle gdab, unsigned short regId, gemIEHandle val)
 Loads a register with value.

int gGEMIEread (gdabHandle gdab, unsigned short regId, gemIEHandle val)
 Reads a register returing value in val.


Detailed Description

command/response methods for the GEM Input Enable register block

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

Function Documentation

int gGEMIEload gdabHandle  gdab,
unsigned short  reg,
gemIEHandle  value
 

Loads a register with value.

Parameters:
gdab gdabHandle containing the COM I/O (gnat) handle
reg register to load
value 64-bit value to load
Returns:
G_OK on success
Loads the register reg from the the GEM Input Enable block with value

int gGEMIEread gdabHandle  gdab,
unsigned short  reg,
gemIEHandle  value
 

Reads a register returing value in val.

Parameters:
gdab gdabHandle containing the COM I/O (gnat) handle
reg register to read
value pointer to storage to hold the response of the read command
Returns:
G_OK on success
Reads the register reg from the GEM Input Enable block. 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