文件名称:5
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 44kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
定时器实验:
实验得到的结果为,四个8段数码管显示1234,当按下某键盘后,就会产生定时中断,四个8段数码管只会点亮相对应的那个,在一定延时后,四个8段数码管又恢复显示1234。
在flash调试时,需要修改RO BASE为0x00000000,其他不用修改,重新编译下载就可运行。
注意:由于系统产生中断,程序计数器就会跳到0x18处执行中断服务子程序,所以不能在SDRAM调试。 -Timer experiment: the experimental results for the four 8-segment LED display 1234, when the press of a keyboard, the timer interrupt will be generated, four 8 point digital control will appear that corresponds to a certain delay After four 8 digital tube display resumed 1234. Debug in flash, you need to modify the RO BASE is 0x00000000, the other not modify, recompile download can run. Note: Due to system interrupt, the program counter will jump to 0x18 Department execute the interrupt service routine, it can not debug the SDRAM.
实验得到的结果为,四个8段数码管显示1234,当按下某键盘后,就会产生定时中断,四个8段数码管只会点亮相对应的那个,在一定延时后,四个8段数码管又恢复显示1234。
在flash调试时,需要修改RO BASE为0x00000000,其他不用修改,重新编译下载就可运行。
注意:由于系统产生中断,程序计数器就会跳到0x18处执行中断服务子程序,所以不能在SDRAM调试。 -Timer experiment: the experimental results for the four 8-segment LED display 1234, when the press of a keyboard, the timer interrupt will be generated, four 8 point digital control will appear that corresponds to a certain delay After four 8 digital tube display resumed 1234. Debug in flash, you need to modify the RO BASE is 0x00000000, the other not modify, recompile download can run. Note: Due to system interrupt, the program counter will jump to 0x18 Department execute the interrupt service routine, it can not debug the SDRAM.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验5 定时器\Readme.txt
............\timer.mcp
............\library\library_register.s
............\.......\library_variant.s
............\moduleDriver\button_statusFetch.s
............\os\os_null.s
............\..\register_variant.h
............\..\timer.c
............\post\boot.s
............\....\handler_IRQ.s
............\....\led_code.s
............\....\post_initGpio.s
............\....\post_initKey.s
............\....\post_initMem.s
............\....\post_initStack.s
............\....\post_initVariant.s
............\timer_Data\CWSettingsWindows.stg
............\..........\Debug\TargetDataWindows.tdt
............\..........\.....Rel\TargetDataWindows.tdt
............\..........\........\timer.axf
............\..........\........\timer.bin
............\..........\........\ObjectCode\boot.o
............\..........\........\..........\handler_IRQ.o
............\..........\........\..........\library_register.o
............\..........\........\..........\library_variant.o
............\..........\........\..........\post_initGpio.o
............\..........\........\..........\post_initKey.o
............\..........\........\..........\post_initMem.o
............\..........\........\..........\post_initStack.o
............\..........\........\..........\post_initVariant.o
............\..........\........\..........\timer.o
............\..........\Release\TargetDataWindows.tdt
............\..........\DebugRel\ObjectCode
............\..........\Debug
............\..........\DebugRel
............\..........\Release
............\library
............\moduleDriver
............\os
............\post
............\timer_Data
实验5 定时器
............\timer.mcp
............\library\library_register.s
............\.......\library_variant.s
............\moduleDriver\button_statusFetch.s
............\os\os_null.s
............\..\register_variant.h
............\..\timer.c
............\post\boot.s
............\....\handler_IRQ.s
............\....\led_code.s
............\....\post_initGpio.s
............\....\post_initKey.s
............\....\post_initMem.s
............\....\post_initStack.s
............\....\post_initVariant.s
............\timer_Data\CWSettingsWindows.stg
............\..........\Debug\TargetDataWindows.tdt
............\..........\.....Rel\TargetDataWindows.tdt
............\..........\........\timer.axf
............\..........\........\timer.bin
............\..........\........\ObjectCode\boot.o
............\..........\........\..........\handler_IRQ.o
............\..........\........\..........\library_register.o
............\..........\........\..........\library_variant.o
............\..........\........\..........\post_initGpio.o
............\..........\........\..........\post_initKey.o
............\..........\........\..........\post_initMem.o
............\..........\........\..........\post_initStack.o
............\..........\........\..........\post_initVariant.o
............\..........\........\..........\timer.o
............\..........\Release\TargetDataWindows.tdt
............\..........\DebugRel\ObjectCode
............\..........\Debug
............\..........\DebugRel
............\..........\Release
............\library
............\moduleDriver
............\os
............\post
............\timer_Data
实验5 定时器