请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:UCD3138A64 工具/软件:Code Composer Studio
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
Shoeb、您好!
结果寄存器中的 ADC 计数需要从 TEMPREF 寄存器中的值中减去、然后乘以上表中的"温度分辨率"、这将提供高于室温(25 C)的温度升高。
例如、假设寄存器 TEMPREF 显示的是3030十进制的值。
C51十六进制的结果寄存器值转换为3153十进制、
因此、温度为 ((3153 - 3030)* 0.0969)+ 25 = 11.92 + 25 = 36.9°C
此致、