资源简介

在DSP中,通过拨码开关来控制流水灯。已经运行出来了,内部程序含有讲解,适合DSP初学者学习和参考。。

资源截图

代码片段和文件信息

#include “myapp.h“

// 定义指示灯控制寄存器地址和寄存器类型
#define LBDS (*((unsigned int *)0x400001))
// 定义拨码开关控制寄存器地址和寄存器类型
#define DIPS (*(unsigned int *)0x400002)

main()
{
PLL_Init(12); // 初始化DSP运行时钟
SDRAM_init(); // 初始化EMIF接口
while ( 1 )
{
LBDS=DIPS; // 读取拨码开关状态直接送指示灯显示
}
}





 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-11-24 19:27  Lab0302-DIP\
     文件       14450  2005-05-05 12:28  Lab0302-DIP\5509.h
     文件       20042  2005-05-05 12:29  Lab0302-DIP\c55xxdefs.h
     目录           0  2012-11-24 19:27  Lab0302-DIP\Debug\
     文件         634  2008-07-06 15:56  Lab0302-DIP\Debug.lkf
     文件         431  2006-06-01 14:30  Lab0302-DIP\Debug.lkv
     文件        1060  2005-12-15 10:24  Lab0302-DIP\Debug\clk_init.obj
     文件        8994  2008-07-06 15:56  Lab0302-DIP\Debug\DIP.map
     文件        3017  2008-07-06 15:56  Lab0302-DIP\Debug\DIP.obj
     文件       20664  2008-07-06 15:56  Lab0302-DIP\Debug\DIP.out
     文件        3129  2008-07-06 15:56  Lab0302-DIP\Debug\sdram_init.obj
     文件       20846  2008-07-06 15:56  Lab0302-DIP\Debug\util.obj
     文件         361  2006-06-01 14:30  Lab0302-DIP\DIP.c
     目录           0  2012-11-24 19:27  Lab0302-DIP\DIP.CS_\
     文件        3072  2008-07-06 15:55  Lab0302-DIP\DIP.CS_\FILE.CDX
     文件         504  2008-07-06 15:55  Lab0302-DIP\DIP.CS_\FILE.DBF
     文件         775  2008-07-06 15:55  Lab0302-DIP\DIP.CS_\FILE.FPT
     文件       74752  2008-07-06 15:55  Lab0302-DIP\DIP.CS_\SYMBOL.CDX
     文件       47549  2008-07-06 15:55  Lab0302-DIP\DIP.CS_\SYMBOL.DBF
     文件       80832  2008-07-06 15:55  Lab0302-DIP\DIP.CS_\SYMBOL.FPT
     文件        2104  2006-06-01 14:31  Lab0302-DIP\DIP.paf
     文件        2322  2008-07-24 15:21  Lab0302-DIP\DIP.paf2
     文件        1020  2008-07-24 14:48  Lab0302-DIP\DIP.pjt
     文件        2123  2008-07-24 15:21  Lab0302-DIP\DIP.sbl
     文件         192  2004-11-18 15:13  Lab0302-DIP\func.h
     文件         753  2004-11-18 15:41  Lab0302-DIP\ICETEK-VC5509-A.cmd
     目录           0  2012-11-24 19:27  Lab0302-DIP\Lab04-AD\
     文件       14450  2011-11-21 15:50  Lab0302-DIP\Lab04-AD\5509.h
     目录           0  2012-11-24 19:27  Lab0302-DIP\Lab04-AD\AD.CS_\
     文件        3072  2011-11-21 15:50  Lab0302-DIP\Lab04-AD\AD.CS_\FILE.CDX
     文件         504  2011-11-21 15:50  Lab0302-DIP\Lab04-AD\AD.CS_\FILE.DBF
............此处省略32个文件信息

评论

共有 条评论