GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIH / V0-2-3
Constituent: lih     Tag: linux-gcc
#include <string.h>
#include "LCBD/LCBC.h"
#include "LCBD/LCBD_rst.h"
#include "LCBD/LCBR.h"
#include "LEM/encode_macros.h"
#include "LEM/encode_structs.h"
#include "LHK/LHK_pubdefs.h"
#include "LIH_DB/LIH_DB_ADCdefs.h"
#include "MDB/MDB_pubdefs.h"
#include "PBS/FFS.ih"
#include "PBS/MBA.h"
#include "LIH/LIH_msgs.h"
#include "LIH_prvdefs.h"
Include dependency graph for LIH_AEM.c:
Data Structures | |
struct | _AEM_Control |
Control structure for AEM environmental readout. More... | |
Defines | |
#define | LIH_L_AEM_CYCLE (1) |
#define | LIH_L_REG_PER_AEM (13) |
#define | LIH_L_ADC_PER_REG (4) |
#define | LIH_M_AEM_ADC_TO (0x1000) |
Typedefs | |
typedef _AEM_Control | AEM_Control |
Typedef for struct _AEM_Control. | |
Functions | |
static void | AEMacquire (LIH_Control *hcb, void *prm, unsigned int minor) |
Acquire AEM environmental data for the requested minor cycle. | |
static __inline void | copy_env (unsigned short *dst, const unsigned short *src) |
Expand/copy ADCs from result list to target packet. | |
static __inline LCB_ci * | load_reg (LCB_ci_cmd *ci, unsigned int reg, unsigned int stall) |
Insert a command to write to an AEM ADC register. | |
static __inline LCB_ci * | read_ctl (LCB_ci_cmdr *ci, unsigned int stall) |
Insert a command to read the AEM's FREE board power switch register. | |
static __inline LCB_ci * | read_reg (LCB_ci_cmdr *ci, unsigned int reg, unsigned int stall) |
Insert a command to read an AEM environmental monitor ADC register. | |
unsigned int | LIH_AEMinit (LIH_Control *hcb, LIH_cb_Acquire *acq, void **prm, unsigned int *minor) |
Initialize the AEM acquisition. |
CVS $Id: LIH_AEM.c,v 1.3 2008/08/28 21:02:55 apw Exp $
|
Acquire AEM environmental data for the requested minor cycle.
|
|
Expand/copy ADCs from result list to target packet.
|
|
Initialize the AEM acquisition.
|
|
Insert a command to write to an AEM ADC register.
|
|
Insert a command to read the AEM's FREE board power switch register.
|
|
Insert a command to read an AEM environmental monitor ADC register.
|