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.

TM4C123GH6PM下RTC模块如何使用呀

Other Parts Discussed in Thread: TM4C123GH6PM

TM4C123GH6PM下的timer可以当作RTC来使用。但是设置成RTC模式后,如何设置它的年月日时分秒呢?

怎么这些都没有呀! Tiva的库下,也没有看到相关的例子的。

NXP的LPC系列的,都可以直接设置的。

求实例呀

  • Vbgood

    1. Tiva全系列MCU的Timer可以作为RTC模式但是不支持calendar功能。

    2.Tiva 123系列MCU的Hibernation模块的RTC同样不支持calendar功能。

    3. Tiva 129系列MCU的Hibernation模块的RTC支持calendar功能,具体的例程你可以参考DK-TM4C1294xl下的hibernate例程。