文件名称:msp430g2xx3_uscib0_i2c_01
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-09-21
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 马*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
I2C接口TMP100温度传感器在9位模式。
计时器一CCR0中断用于醒来,读这两个字节的
TMP100的温度寄存器每62毫秒。如果温度大于28 c,p1 0设置,否则复位。在LPM0 CPU操作。 速度~ 100 khz I2C。-I2C interface to TMP100 temperature sensor in 9-bit mode.
Timer_A CCR0 interrupt is used to wake up and read the two bytes of
the TMP100 temperature register every 62ms. If the temperature is greater than 28C, P1.0 is set, else reset. CPU is operated in LPM0. I2C speed is ~100kHz.
计时器一CCR0中断用于醒来,读这两个字节的
TMP100的温度寄存器每62毫秒。如果温度大于28 c,p1 0设置,否则复位。在LPM0 CPU操作。 速度~ 100 khz I2C。-I2C interface to TMP100 temperature sensor in 9-bit mode.
Timer_A CCR0 interrupt is used to wake up and read the two bytes of
the TMP100 temperature register every 62ms. If the temperature is greater than 28C, P1.0 is set, else reset. CPU is operated in LPM0. I2C speed is ~100kHz.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
msp430g2xx3_uscib0_i2c_01.c