文件名称:CpuTimer0
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:788byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定时器0 实验
F2812 上有3 个 32 位的 CPU 定时器,本程序主要对 CPU 定时器 0 进行操作,
100MS 产生一次中断。使用时,按以下步骤进行:
(1)点击“CCS”,启动Code Composer Studio 开发环境
(2)点击【project】 【Open…】打开“CpuTimer0”文件夹下的“CpuTimer0.PJT”。
(3)重新编译完毕。
(4)点击【File】 【Load Program…】,选择“CpuTimer0”文件夹下的“DEBUG”
中的“CpuTimer0.OUT”文件,点击【打开】。
(5)点击【Debug】 【Run】或左侧快捷键图标,全速运行。在定时器中断子
函数中,我们打上断点,当定时器0 产生中断时,CCS 就会停在断点处。如下图所示。
注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】 【Reset CPU】,
然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-Timer 0 experiment
F2812 on three 32-bit CPU timer, this program is the main CPU Timer 0
100MS generate an interrupt. Use, follow these steps:
(1) click on the "CCS", start the Code Composer Studio development environment
(2) Click on the [project] [Open ...] to open the folder under "CpuTimer0 the" CpuTimer0.PJT ".
(3) re-compile is completed.
(4) Click [File] [the Load the Program ...] select "CpuTimer0, folder under" the DEBUG
In the "CpuTimer0.OUT" file, click [Open].
(5) Click [Debug] , [Run] or the left side of the shortcut icon, running at full speed. In the timer interrupt sub-
Function, we marked a breakpoint, when Timer 0 to generate an interrupt, the CCS will stop at the breakpoint. As shown below.
Note: If the discovery process can not run correctly or the program running, you can visit the CCS [Debug] [Reset CPU]
And then re-Load program. If you still can not run correctly or the program running, re-power on to learn bo
F2812 上有3 个 32 位的 CPU 定时器,本程序主要对 CPU 定时器 0 进行操作,
100MS 产生一次中断。使用时,按以下步骤进行:
(1)点击“CCS”,启动Code Composer Studio 开发环境
(2)点击【project】 【Open…】打开“CpuTimer0”文件夹下的“CpuTimer0.PJT”。
(3)重新编译完毕。
(4)点击【File】 【Load Program…】,选择“CpuTimer0”文件夹下的“DEBUG”
中的“CpuTimer0.OUT”文件,点击【打开】。
(5)点击【Debug】 【Run】或左侧快捷键图标,全速运行。在定时器中断子
函数中,我们打上断点,当定时器0 产生中断时,CCS 就会停在断点处。如下图所示。
注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】 【Reset CPU】,
然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-Timer 0 experiment
F2812 on three 32-bit CPU timer, this program is the main CPU Timer 0
100MS generate an interrupt. Use, follow these steps:
(1) click on the "CCS", start the Code Composer Studio development environment
(2) Click on the [project] [Open ...] to open the folder under "CpuTimer0 the" CpuTimer0.PJT ".
(3) re-compile is completed.
(4) Click [File] [the Load the Program ...] select "CpuTimer0, folder under" the DEBUG
In the "CpuTimer0.OUT" file, click [Open].
(5) Click [Debug] , [Run] or the left side of the shortcut icon, running at full speed. In the timer interrupt sub-
Function, we marked a breakpoint, when Timer 0 to generate an interrupt, the CCS will stop at the breakpoint. As shown below.
Note: If the discovery process can not run correctly or the program running, you can visit the CCS [Debug] [Reset CPU]
And then re-Load program. If you still can not run correctly or the program running, re-power on to learn bo
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CpuTimer0.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.