开发工具:
文件大小: 92kb
下载次数: 0
上传时间: 2013-05-09
详细说明: DSP的波形发生器 #include "myapp.h" #include "ICETEK-VC5509-EDU.h" #define DIPS (*(unsigned int *)0x400002) void main() { int k,c[2],i,j,k2,k3,k4; char k1; float a[]={128.0000,131.1413,134.2807,137.4163,140.5462,143.6686,146.7815,149.8831,152.9716,156.0450,159.1015, 162.1392,165.1564,168.1513,171.1219,174.0666,176.9835,179.8709,182.7271,185.5503,188.3388,191.0910, 193.8052,196.4797,199.1130,201.7034,204.2495,206.7496,209.2023,211.6061,213.9595,216.2612,218.5097, 220.7036,222.8417,224.9227,226.9453,228.9083,230 .8106,232.6509,234.4281,236.1413,237.7893,239.3711, 240.8859,242.3327,243.7106,245.0188,246.2566,247.4231,248.5176,249.5396,250.4884,251.3633,252.1640, 252.8899,253.5405,254.1155,254.6146,255.0374,255.3836,255.6532,255.8458,255.9614,256.0000,255.9614, 255.8458,255.6532,255.3836,255.0374,254.6146,254.1155,253.5405,252.8899,252.1640,251.3633,250.4884, 249.5396,248.5176,247.4231,246.2566,245.0188,243.7106,242.3327,240.8859,239.3711,237.7893,236.1413, 234.4281,232.6509,230.8106,228.9083,226.9453,224.9227,222.8417,220.7036,218.5097,216.2612,213.9595, 211.6061,209.2023,206.7496,204.2495,201.7034,199.1130,196.4797,193.8052,191.0910,188.3388,185.5503, 182.7271,179.8709,176.9835,174.0666,171.1219,168.1513,165.1564,162.1392,159.1015,156.0450,152.9716, 149.8831,146.7815,143.6686,140.5462,137.4163,134.2807,131.1413,128.0000,124.8587,121.7193,118.5837, 115.4538,112.3314,109.2185,106.1169,103.0284,99.9550,96.8985,93.8608,90.8436,87.8487,84.8781, 81.9334,79.0165,76.1291,73.2729,70.4497,67.6612,64.9090,62.1948,59.5203,56.8870,54.2966, 51.7505,49.2504,46.7977,44.3939,42.0405,39.7388,37.4903,35.2964,33.1583,31.0773,29.0547, 27.0917,25.1894,23.3491,21.5719,19.8587,18.2107,16.6289,15.1141,13.6673,12.2894,10.9812, 9.7434,8.5769,7.4824,6.4604,5.5116,4.6367,3.8360,3.1101,2.4595,1.8845,1.3854, 0.9626,0.6164,0.3468,0.1542,0.0386,0,0.0386,0.1542,0.3468,0.6164,0.9626, 1.3854,1.8845,2.4595,3.1101,3.8360,4.6367,5.5116,6.4604,7.4824,8.5769,9.7434, 10.9812,12.2894,13.6673,15.1141,16.6289,18.2107,19.8587,21.5719,23.3491,25.1894,27.0917, 29.0547,31.0773,33.1583,35.2964,37.4903,39.7388,42.0405,44.3939,46.7977,49.2504,51.7505, 54.2966,56.8870,59.5203,62.1948,64.9090,67.6612,70.4497,73.2729,76.1291,79.0165,81.9334, 84.8781,87.8487,90.8436,93.8608,96.8985,99.9550,103.0284,106.1169,109.2185,112.3314,115.4538, 118.5837,121.7193,124.8587,128.0000}; float b[]={256.0000,255.9614,255.8458,255.6532,255.3836,255.0374,254.6146,254.1155,253.5405,252.8899,252.1640, 251.3633,250.4884,249.5396,248.5176,247.4231,246.2566,245.0188,243.7106,242.3327,240.8859,239.3711, 237.7893,236.1413,234.4281,232.6509,230.8106,228.9083,226.9453,224.9227,222.8417,220.7036,218.5097, 216.2612,213.9595,211.6061,209.2023,206.7496,204.2495,201.7034,199.1130,196.4797,193.8052,191.0910, 188.3388,185.5503,182.7271,179.8709,176.9835,174.0666,171.1219,168.1513,165.1564,162.1392,159.1015, 156.0450,152.9716,149.8831,146.7815,143.6686,140.5462,137.4163,134.2807,131.1413,128.0000,124.8587, 121.7193,118.5837,115.4538,112.3314,109.2185,106.1169,103.0284,99.9550,96.8985,93.8608,90.8436, 87.8487,84.8781,81.9334,79.0165,76.1291,73.2724,70.4497,67.6612,64.9090,62.1948,59.5203, 56.8870,54.2966,51.7505,49.2504,46.7977,44.3939,42.0405,39.7388,37.4903,35.2964,33.1583, 31.0773,29.0547,27.0917,25.1894,23.3491,21.5719,19.8587,18.2107,16.6289,15.1141,13.6673, 12.2894,10.9812,9.7434,8.5769,7.4824,6.4604,5.5116,4.6367,3.8360,3.1101,2.4595, 1.8845,1.3854,0.9626,0.6164,0.3468,0.1542,0.0386,0,0.0386,0.1542,0.3468, 0.6164,0.9626,1.3854,1.8845,2.4595,3.1101,3.8360,4.6367,5.5116,6.4604,7.4824, 8.5769,9.7434,10.9812,12.2894,13.6673,15.1141,16.6289,18.2107,19.8587,21.5719,23.3491, 25.1894,27.0917,29.0547,31.0773,33.1583,35.2964,37.4903,39.7388,42.0405,44.3939,46.7976, 49.2504,51.7505,54.2966,56.8870,59.5203,62.1948,64.9090,67.6612,70.4497,73.2729,76.1291, 79.0165,81.9334,84.8781,87.8487,90.8436,93.8608,96.8985,99.9550,103.0284,106.1169,109.2185, 112.3314,115.4538,118.5837,121.7193,124.8587,128.0000,131.1413,134.2807,137.4163,140.5462,143.6686, 146.7815,149.8831,152.9716,156.0450,159.1015,162.1392,165.1564,168.1513,171.1219,174.0666,176.9831, 179.8709,182.7271,185.5503,188.3388,191.0910,193.8052,196.4797,199.1130,201.7034,204.2495,206.7496, 209.2023,211.6061,213.9595,216.2612,218.5097,220.7036,222.8417,224.9227,226.9453,228.9083,230.8106, 232.6509,234.4281,236.1413,237.7893,239.3711,240.8859,242.3327,243.7106,245.0188,246.2566,247.4231, 248.5176,249.5396,250.4884,251.3633,252.1640,252.8899,253.5405,254.1155,254.6146,255.0374,255.3836, 255.6532,255.8458,255.9614,256.0000}; j=0; c[0]=128; c[1]=0; PLL_Init(72); SDRAM_init(); ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.