⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lm75.h

📁 最新的LPC214X I2C驱动程序
💻 H
字号:
////  $Id: lm75.h 42 2008-10-04 18:40:36Z jcw $//  $Revision: 42 $//  $Author: jcw $//  $Date: 2008-10-04 14:40:36 -0400 (Sat, 04 Oct 2008) $//  $HeadURL: http://tinymicros.com/svn_public/arm/lpc2148_demo/trunk/i2c/lm75.h $//#ifndef _LM75_H_#define _LM75_H_//////#define LM75_ADDRESS (0x90)#define LM75_REGISTER_TEMPERATURE   (0x00)#define LM75_REGISTER_CONFIGURATION (0x01)#define LM75_REGISTER_THYST         (0x02)#define LM75_REGISTER_TOS           (0x03)//////int  lm75Init (void);void lm75SetMode (int mode);void lm75SetAddress (U8 address);int  lm75ReRead (int *value);int  lm75TemperatureRead (int *temp);int  lm75ConfigRead (int *configValue);int  lm75ConfigWrite (int configValue);int  lm75THYSTRead (int *thystValue);int  lm75THYSTWrite (int thystValue);int  lm75TOSTRead (int *thystValue);int  lm75TOSWrite (int thystValue);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -