RTC初始化
总结:新华龙的RTC其实就是一个计数器,它计算 外部32768Hz的晶体振荡器的脉冲数,RTC外围中的CPATURE(0~3)4个寄存器是这个计数器的计数值.然后我们可以根据1秒钟的计数值为32768,这样可以计算这个RTC分辨率为1/32768(s)
RTC初始化
总结:新华龙的RTC其实就是一个计数器,它计算 外部32768Hz的晶体振荡器的脉冲数,RTC外围中的CPATURE(0~3)4个寄存器是这个计数器的计数值.然后我们可以根据1秒钟的计数值为32768,这样可以计算这个RTC分辨率为1/32768(s)