?? ds1620.h
字號:
#ifndef _DS1620_H
#define _DS1620_H
#define SDB_DS1620 60000
#define SDC_READ_TEMP_HI (SDB_DS1620+0)
#define SDC_WRITE_TEMP_HI (SDB_DS1620+1)
#define SDC_READ_TEMP_LO (SDB_DS1620+2)
#define SDC_WRITE_TEMP_LO (SDB_DS1620+3)
#define SDC_START_CONVERT (SDB_DS1620+4)
#define SDC_STOP_CONVERT (SDB_DS1620+5)
#define SDC_WRITE_CONFIG (SDB_DS1620+6)
#define SDC_READ_CONFIG (SDB_DS1620+7)
#define SDC_GET_UPPER_LIMIT SDC_READ_TEMP_HI
#define SDC_SET_UPPER_LIMIT SDC_WRITE_TEMP_HI
#define SDC_GET_LOWER_LIMIT SDC_READ_TEMP_LO
#define SDC_SET_LOWER_LIMIT SDC_WRITE_TEMP_LO
typedef struct{
LineLevelStruct Rst;
LineLevelStruct Clk;
LineLevelStruct Dq;
LineLevelStruct Dir;
}Ds1620CfgStruct;
char *Ds1620BspInit(int DEV, char *FreeMemPtr, Ds1620CfgStruct *pCfg);
#endif /* _DS1620_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -