-
程序运行时令蜂鸣器交替产生高低不同的两种声音。注意:在运行程序前需要将板上的蜂鸣器接通(短接JP2)。
-
程序运行时L3、L4、L5轮流闪烁,此时可通过按键控制CPU进入不同模式:
按键 功能K1 从SLOW模式恢复正常模式(由PLL1驱动主时钟)K2 进入SLOW模式K3 进入WFI(Wait-For-Interrupt)模式K4 进入STOP模式K5 进入STANDBY模…
-
程序通过定时器中断分别驱动板上的两个LED(L3、L4)周期闪烁。其中L3靠Timer0产生的FIQ中断驱动,L4靠RTC中断驱动。如果板上晶振工作正常、PLL设置正确,则能看到L3、L4闪动频率相同(1Hz)。
-
该程序通过回发从UART收到的字符来测试UART。默认配置使用UART0,57600波特率,8位数据,1位停止位,无奇偶校验位。为配合程序运行,必须先将UART0与PC串口相连,并开启超级终端或其它串口调试程序。
-
程序演示了一个USB鼠标的应用。运行时用USB线连接开发板与PC机,PC将自动识别出设备类型并准备驱动。当一切配置完成后(此时L3会亮起),可以用板上的按键来模拟鼠标动作(K1代表左,K2代表上,K3代表下,K4代表右,K5代表鼠标左键,K2与K3同时按下代表鼠标右键)。
-
该程序测试看门狗定时器的自动复位功能。程序开始时L3、L4、L5依次点亮以表示复位初始化,接着L3闪烁以表示程序正常运行。默认程序会每隔一段时间重新装载看门狗定时器的计数器以避免自动复位。如果K1 ~ K5至少有一个键被按下,程序将停止重装看门狗定时器的计数器,并引起看门狗超时而复位…
-
This example demonstrates how to configure the XTI to generate IRQ interrupts.This example highlights one of the features of the XTI which is to generate anIRQ interrupts service routine and use the P0.15 pins (tied to the wakeup button monted on the MB393 board)to exe…
-
This example program demonstrates the ADC function of STDV750F board. The LCD will display below contents when running: STR75x DEMO ADC Val:xxxxThe xxxx is the value after ADC converts to analog voltage. The ADC example program is available for severa…
-
The program demonstrates the function of LED through GPIO configuration. LED will be flickering from left to right in turn.
本例程演示了闪灯的功能,灯会依次从左向右闪烁。
The RTC example program is available for several targets:Simulator: uVision Simulator for evalua…
-
This test program is used for RTC test. The LCD will display as below when running the program:STR75x DEMOxx.xx xx:xx:xxThe xx show month, date, hour, minute and second respectively and real-time refresh.If the program set the time to be 00:00:00 and alarm time to be 0…
-
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 4…