Defines | Functions | Variables

/scratch/npr78/temp/xspress3_api/det-software/none_vme/xspress3/lib/xspress3_i2c.c File Reference

Defines

#define LM75_REG_TEMP   0x00
#define LM75_REG_CONFIG   0x01
#define LM75_REG_T_HYST   0x02
#define LM75_REG_T_OS   0x03
#define LM75_REG_ID   0x07

Functions

int xsp3_i2c_read_adc_temp (int path, int card, float *temp)
 Read Temperature from all 4 LM75s on 1 or all ADC boards.
int xsp3_i2c_set_adc_temp_limit (int path, int card, int critTemp)
 Set over Temperature threshold for all 4 LM75s on 1 or all ADC boards.

Variables

XSP3Path Xsp3Sys [XSP3_MAX_PATH]
char error_message []

Define Documentation

#define LM75_REG_CONFIG   0x01
#define LM75_REG_ID   0x07
#define LM75_REG_T_HYST   0x02
#define LM75_REG_T_OS   0x03
#define LM75_REG_TEMP   0x00

Variable Documentation

char error_message[]
XSP3Path Xsp3Sys[XSP3_MAX_PATH]