基于STR750的TB程序
介绍:
The program uses TB to test the frequency of LPOSC and uses LPOSC as RTC clock source, TB tested value to adjust RTC frequency register to make RTC have 1s base. Every second there will be RTC interrupt created and drives L1 to flicker and get into STANDBY mode after 4s. After about 5s, the system will interrupt wake- up through RTC alarm and L1 start flickering again.
本例程利用TB测量LPOSC的频率,并用LPOSC作为RTC时钟源,利用TB所测值调节RTC分频寄存器,使RTC能有1s的基准。每秒都会产生RTC中断,并驱动L1闪烁,4s后进入STANDBY模式,再过5秒左右系统会通过RTC警告中断唤醒,L1重新开始闪烁。
The TB example program is available for several targets:
Simulator: uVision Simulator for evaluation
STR750: Embest STR750 Evaluation board with ULINK2 debugger
- Application is loaded to internal Flash.
评一评已有 0 位网友对此文发表了看法。 我也来评一下
