ESP8266 Developer Zone The Official ESP8266 Forum 2015-09-11T09:32:55+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1072 2015-09-11T09:32:55+08:00 2015-09-11T09:32:55+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1072&p=3653#p3653 <![CDATA[Re: SDK编程手册有错误/Mistake in SDK Programming Manual]]>
Espressif_Faye wrote:
您好,

system_rtc_clock_cali_proc 的返回值 bit11 ~ bit0 为小数部分
因此,
如需取整,则为 system_rtc_clock_cali_proc()>>12
如需保留 2 位小数部分,则为 (system_rtc_clock_cali_proc() x 100)>>12

感谢您的热心反馈,我们将更新文档,以便于理解。


还是直接说system_rtc_clock_cali_proc返回值的单位是1/4096微秒比较好。

Statistics: Posted by thuwrx10 — Fri Sep 11, 2015 9:32 am


]]>
2015-09-10T10:32:13+08:00 2015-09-10T10:32:13+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1072&p=3624#p3624 <![CDATA[Re: SDK编程手册有错误/Mistake in SDK Programming Manual]]>
system_rtc_clock_cali_proc 的返回值 bit11 ~ bit0 为小数部分
因此,
如需取整,则为 system_rtc_clock_cali_proc()>>12
如需保留 2 位小数部分,则为 (system_rtc_clock_cali_proc() x 100)>>12

感谢您的热心反馈,我们将更新文档,以便于理解。

Statistics: Posted by ESP_Faye — Thu Sep 10, 2015 10:32 am


]]>
2015-09-07T16:59:31+08:00 2015-09-07T16:59:31+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1072&p=3590#p3590 <![CDATA[SDK编程手册有错误/Mistake in SDK Programming Manual]]> RTC 时钟周期,单位:微秒,bit11 ~ bit0 为小数部分(取 2 位小小数并 * 100:(RTC_CAL*100)>> 12 )

(RTC_CAL*100)>>12得到的数字的单位是什么?光年?

On page 29, return of the function system_rtc_clock_cali_proc():
RTC clock period (in us), bit11~ bit0 are decimal. ((RTC_CAL * 100)>> 12 )

What's the unit of (RTC_CAL * 100)>> 12? Light year I think?

Statistics: Posted by thuwrx10 — Mon Sep 07, 2015 4:59 pm


]]>