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.

[参考译文] CC2652R:如何访问 CC2652R 的 RTC 时钟以用作全局时钟

Guru**** 2391415 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1008552/cc2652r-how-to-access-rtc-clock-of-cc2652r-to-be-used-as-global-clock

器件型号:CC2652R

您好!

我正在尝试以 hh:mm:ss:subsec 格式实现 RTC 时钟

我看到 AONRTCCurrentCompareValueGet 只提供秒和亚秒、我能够读取秒和亚秒。

我无法在库中找到 rtc_c.h 来访问 RTC 时钟设置。

如何使用此 RTC 设置全局时间戳?

使用的 SDK 是 simplelink_cc13x2_26x2_SDK_4_10_00_78

谢谢你

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Vidit、

    请参考 bigtime 示例、该示例 演示了如何在 C++应用程序中使用 SYS/BIOS 时钟和任务模块来创建实时时钟/日历。  您还可以查看 Driverlib TI-RTOS 内核 文档。  这 是一个相关的 E2E 主题、 也可以提供更多建议。

    此致、
    Ryan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Vidit、

    请参阅 位于 C:\ti\simplelink_cc13x2_26x2_sdk_5_10_00_48\source\ti\con\time 中的 UTC_clock.c。

    -kel