[代码及相关实验]---代码为C语言编写
1、CPU看门狗实验
2、LED跑马灯实验
3、CPU Timer定时器实验
4、实时时钟实验
5、AD转换实验
6、扩展SDRAM读写实验
7、扩展FLASH读写实验
8、快速傅立叶变换(FFT)实验
9、FIR滤波器实验
10、IIR滤波器实验
11、自适应滤波器(FIRLMS)实验
12、键盘扫描实验
13、外部中断输入实验
14、AIC23播音实验
15、LCD显示实验
16、串口通信实验
17、USB2.0通信实验
18、网络通信实验
19、SD卡读写实验
20、MMC卡读写实验
21、数字图像直方图实验
22、数字图像边缘检测实验
23、数字图像锐化实验
24、数字图像取反实验
25、数字图像直方图均衡化增强实验
26、Flash上电启动程序固化实验
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4969 2003-05-06 14:37 ProgramButtonc5509.gel
文件 356 2007-11-02 23:17 ProgramButtoncc_build_Debug.log
文件 0 2007-05-01 12:48 ProgramButtonDATA0
文件 20973 2007-11-02 23:17 ProgramButtonDebugemif_button.map
文件 8879 2007-11-02 23:17 ProgramButtonDebugemif_button.obj
文件 124434 2007-11-02 23:17 ProgramButtonDebugemif_button.out
文件 465 2007-11-02 23:17 ProgramButtonDebug.lkf
文件 380 2004-02-27 13:54 ProgramButtonDebug.lkv
文件 793 2009-09-29 15:46 ProgramButtonemif.cmd
文件 7343 2004-02-27 13:55 ProgramButtonemif.paf
文件 8090 2007-02-09 20:33 ProgramButtonemif.paf2
文件 10439 2007-02-09 20:33 ProgramButtonemif.sbl
文件 13415 2004-02-27 13:55 ProgramButtonEMIF.wks
文件 5362 2009-09-29 15:46 ProgramButtonemif_button.c
文件 4096 2012-02-28 20:34 ProgramButtonemif_button.CS_FILE.CDX
文件 5900 2012-02-28 20:34 ProgramButtonemif_button.CS_FILE.DBF
文件 10384 2012-02-28 20:34 ProgramButtonemif_button.CS_FILE.FPT
文件 543744 2012-02-28 20:34 ProgramButtonemif_button.CS_SYMBOL.CDX
文件 739029 2012-02-28 20:34 ProgramButtonemif_button.CS_SYMBOL.DBF
文件 1542775 2012-02-28 20:34 ProgramButtonemif_button.CS_SYMBOL.FPT
文件 10801 2012-04-05 13:42 ProgramButtonemif_button.paf2
文件 994 2012-04-05 13:42 ProgramButtonemif_button.pjt
文件 30582 2012-04-05 13:42 ProgramButtonemif_button.sbl
文件 0 2007-05-01 12:48 ProgramButtonPROG0
文件 0 2007-05-01 12:48 ProgramButtonP_VECT
文件 177 2004-03-16 19:32 ProgramButton
eadme.txt
文件 4969 2003-05-06 14:37 ProgramCodecc5509.gel
文件 345 2007-12-01 23:02 ProgramCodeccc_build_Debug.log
文件 13830 2007-12-01 23:02 ProgramCodeccodec.c
文件 2477 2003-06-11 13:02 ProgramCodeccodec.cmd
............此处省略854个文件信息
/******************************************************************************/
/* Copyright 2004 by SEED Electronic Technology LTD. */
/* All rights reserved. SEED Electronic Technology LTD. */
/* Restricted rights to use duplicate or disclose this code are */
/* granted through contract. */
/* */
/* */
/******************************************************************************/
/*----------------------------------------------------------------------------*/
/* MODULE NAME... EMIF_Button */
/* FILENAME...... emif.c */
/* DATE CREATED.. Wed 2/4/2004 */
/* PROJECT....... write and read data between the CPU and SDRAM */
/* COMPONENT..... */
/* PREREQUISITS.. */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/* DEscriptION: */
/* */
/* This is an example for EMIF of C5509 */
/*----------------------------------------------------------------------------*/
#include
#include
#include
#include
#include
Uint16 x;
Uint32 y;
CSLBool b;
unsigned int datacount = 0;
int databuffer[1000] ={0};
int *souraddr*deminaddr;
Uint16 button;
unsigned char k1_down k2_down k3_down k4_down;
/*锁相环的设置*/
PLL_Config myConfig = {
0 //IAI: the PLL locks using the same process that was underway
//before the idle mode was entered
1 //IOB: If the PLL indicates a break in the phase lock
//it switches to its bypass mode and restarts the PLL phase-locking
//sequence
24 //PLL multiply value; multiply 24 times
1 //Divide by 2 PLL divide value; it can be either PLL divide value
//(when PLL is enabled) or Bypass-mode divide value
//(PLL in bypass mode if PLL multiply value is set to 1)
};
/*SDRAM的EMIF设置*/
EMIF_Config emiffig = {
0x221 //EGCR : the MEMFREQ = 00the clock for the memory is equal to cpu frequence
// the WPE = 0 forbiden the writing posting when we debug the EMIF
// the MEMCEN = 1the memory clock is reflected on the CLKMEM pin
// the NOHOLD = 1HOLD requests are not recognized by the EMIF
0xFFFF //EMI_RST: any write to this register resets the EMIF state machine
0x3FFF //CE0_1: CE0 space control register 1
// MTYPE = 011Synchronous DRAM(SDRAM)16-bit data bus width
0xFFFF //CE0_2: CE0 space control register 2
0x00FF //CE0_3: CE0 space control register 3
//
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4969 2003-05-06 14:37 ProgramButtonc5509.gel
文件 356 2007-11-02 23:17 ProgramButtoncc_build_Debug.log
文件 0 2007-05-01 12:48 ProgramButtonDATA0
文件 20973 2007-11-02 23:17 ProgramButtonDebugemif_button.map
文件 8879 2007-11-02 23:17 ProgramButtonDebugemif_button.obj
文件 124434 2007-11-02 23:17 ProgramButtonDebugemif_button.out
文件 465 2007-11-02 23:17 ProgramButtonDebug.lkf
文件 380 2004-02-27 13:54 ProgramButtonDebug.lkv
文件 793 2009-09-29 15:46 ProgramButtonemif.cmd
文件 7343 2004-02-27 13:55 ProgramButtonemif.paf
文件 8090 2007-02-09 20:33 ProgramButtonemif.paf2
文件 10439 2007-02-09 20:33 ProgramButtonemif.sbl
文件 13415 2004-02-27 13:55 ProgramButtonEMIF.wks
文件 5362 2009-09-29 15:46 ProgramButtonemif_button.c
文件 4096 2012-02-28 20:34 ProgramButtonemif_button.CS_FILE.CDX
文件 5900 2012-02-28 20:34 ProgramButtonemif_button.CS_FILE.DBF
文件 10384 2012-02-28 20:34 ProgramButtonemif_button.CS_FILE.FPT
文件 543744 2012-02-28 20:34 ProgramButtonemif_button.CS_SYMBOL.CDX
文件 739029 2012-02-28 20:34 ProgramButtonemif_button.CS_SYMBOL.DBF
文件 1542775 2012-02-28 20:34 ProgramButtonemif_button.CS_SYMBOL.FPT
文件 10801 2012-04-05 13:42 ProgramButtonemif_button.paf2
文件 994 2012-04-05 13:42 ProgramButtonemif_button.pjt
文件 30582 2012-04-05 13:42 ProgramButtonemif_button.sbl
文件 0 2007-05-01 12:48 ProgramButtonPROG0
文件 0 2007-05-01 12:48 ProgramButtonP_VECT
文件 177 2004-03-16 19:32 ProgramButton
eadme.txt
文件 4969 2003-05-06 14:37 ProgramCodecc5509.gel
文件 345 2007-12-01 23:02 ProgramCodeccc_build_Debug.log
文件 13830 2007-12-01 23:02 ProgramCodeccodec.c
文件 2477 2003-06-11 13:02 ProgramCodeccodec.cmd
............此处省略854个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)