Doxygen Documentation

Main Index

Package Index

Package:

GAEM

Version:

V2-1-2

Marked:

(not marked)

Constituent:

gaem

Tag:

sun-gcc


Interface   Compound List   File List   Compound Members   File Members  

gAENV.h File Reference

defines the command and response methods for the AEM Environmental Monitor More...


Functions

int gAENVload (gaemHandle ga, unsigned short regId, unsigned long long val)
 Loads a register with value.

int gAENVread (gaemHandle ga, unsigned short regId, unsigned long long *val)
 Reads a register specified by reg and stores result in value.


Detailed Description

defines the command and response methods for the AEM Environmental Monitor

Author:
Curt Brune -- curt@slac.stanford.edu

Function Documentation

int gAENVload gaemHandle  ga,
unsigned short  reg,
unsigned long long  value
 

Loads a register with value.

Parameters:
ga gaemHandle for AEM
reg register of AEM to load
value 64-bit value to load into AENV register
Returns:
G_OK on success
The value written to AENV registers is ignored, but the act of writing initiates the ADC acquisition cycle.

In the VAEM no action is taken.

int gAENVread gaemHandle  ga,
unsigned short  reg,
unsigned long long *  value
 

Reads a register specified by reg and stores result in value.

Parameters:
ga gaemHandle for AEM
reg register of AEM to load
value pointer to 64-bit value to store register read result
Returns:
G_OK on success
Returns the 4 ADC values associated with reg in the AEM Environmental Monitor.

In the VAEM this function always returns a value of 0.


Generated on Sat Nov 15 15:42:29 2003 by doxygen 1.3.3