Go to the source code of this file.
Data Structures | |
struct | EEPAGE |
Defines | |
#define | SST_LINE1 1 |
#define | SST_LINE2 2 |
#define | TAVGMAX (int) 30 |
#define | SERIALN_LENGTH 4 |
#define | SERIALN_ADD (PageAddr[3]) |
#define | PAGE_SIZE sizeof(eepage) |
#define | EEP_CTRL_KEY 0x3C000000 |
#define | EEP_CTRL_READ 0x00110000 |
#define | EEP_CTRL_WRITE 0x00220000 |
#define | EEP_CTRL_INVAL_REQ 0xff000000 |
#define | EEP_CTRL_INVAL_KEY 0x00ff0000 |
#define | EEP_CTRL_OFF_RANGE 0x0000ff00 |
#define | PAGE_SIZE sizeof(eepage) |
#define | TEMPOFF_LAST_INDX 36 |
#define | EEP_RW_IDX 4 |
#define | humsen1 1 |
#define | humsen2 2 |
#define | First_DACIndex 90 |
#define | Last_DACIndex 97 |
#define | IDXEER 1 |
#define | IDXCTL 2 |
#define | IDXNAVG 5 |
#define | IDXREF 47 |
#define | IDXEEP_CTL 85 |
#define | DONE 1 |
#define | FAILED 0 |
#define | SET 1 |
#define | CLEAR 0 |
Variables | |
struct { | |
unsigned long SerialN | |
unsigned int error | |
unsigned char control | |
unsigned char status | |
unsigned char eepage | |
unsigned int navge | |
unsigned char terror [5] | |
float Temp [36] | |
float ref | |
float AT [36] | |
unsigned long eepValue | |
long eeCtrSet | |
float SHTtemp1 | |
float SHThumi1 | |
float SHTtemp2 | |
float SHThumi2 | |
unsigned int DAC [8] | |
} | user_data |
unsigned char xdata | ADT7486A_addrArray [] = {0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50} |
unsigned char xdata | Terrorclear [] = {0xFE, 0xFD, 0xFB, 0xF7, 0xEF, 0xDF, 0xBF, 0x7F} |
unsigned char xdata | Terrorset [] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80} |
float xdata | Taverage [36][TAVGMAX] |
unsigned int xdata | PageAddr [] = {0x000, 0x200, 0x400, 0x600} |
sbit | SHT_GND1 = P1^2 |
sbit | SHT_VDD1 = P1^1 |
sbit | SHT_GND2 = P3^2 |
sbit | SHT_VDD2 = P3^1 |
unsigned char bdata | rCTL |
sbit | Cref = rCTL ^ 1 |
sbit | CHum = rCTL ^ 2 |
sbit | CeeS = rCTL ^ 4 |
sbit | CeeR = rCTL ^ 5 |
sbit | CeeClr = rCTL ^ 6 |
unsigned char bdata | rCSR |
sbit | Sref = rCSR ^ 1 |
sbit | SeeS = rCSR ^ 4 |
sbit | SeeR = rCSR ^ 5 |
unsigned int bdata | rESR |
sbit | err1 = rESR ^ 8 |
sbit | err2 = rESR ^ 9 |
sbit | err3 = rESR ^ 10 |
sbit | err4 = rESR ^ 11 |
sbit | err5 = rESR ^ 12 |
sbit | err6 = rESR ^ 13 |
sbit | err7 = rESR ^ 14 |
sbit | err8 = rESR ^ 15 |
sbit | uCT = rESR ^ 0 |
sbit | err10 = rESR ^ 1 |
sbit | err11 = rESR ^ 2 |
sbit | err12 = rESR ^ 3 |
sbit | RdssT = rESR ^ 4 |
sbit | EEPROM = rESR ^ 5 |
sbit | err15 = rESR ^ 6 |
sbit | err16 = rESR ^ 7 |
unsigned char xdata ADT7486A_addrArray[] = {0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50} |
unsigned int xdata PageAddr[] = {0x000, 0x200, 0x400, 0x600} |
unsigned char xdata Terrorclear[] = {0xFE, 0xFD, 0xFB, 0xF7, 0xEF, 0xDF, 0xBF, 0x7F} |
unsigned char xdata Terrorset[] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80} |
struct { ... } user_data |