全文预览

电子设计大赛DDS调试心得

上传者:科技星球 |  格式:pdf  |  页数:36 |  大小:4658KB

文档介绍
0x403F);//writeMSBoffreqOreg\rwrite_2byte(0x2900);\rwrite_2byte(0x8000);//writeLSBoffreqlreg\rwrite_2byte(0x803F);//writeMSBoffreqlreg\rwrite_2byte(0xC000);//writephaseOreg\rwrite_2byte(0xF000);//writephase1reg\rwrite_2byte(0x2000);//selectfreqO,phase0,28bitmode,rst=O\r)\roEHŒwx\rvoidoutput(unsignedlongfreq_value)\r(\runsignedlongdds;//32bitdataforddscontrolword\ruintdds1,dds2;\rdds=freq_value*18.64135111111;oŽ,G+,?‘Mij’Z@s“”\r 350@P360DDS`p??byzhangtianEvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rEmail:FPGASOPC@163.com\rdds=ddsY2;\rddsl=dds;o}•–\rdds2=ddsK16;o~•–\rddsl=ddslK2;\rdds2=dds2&0x7FFF;\rdds2=dds2|0x4000;\rddsl=ddsl&0x7FFF;\rddsl=ddsl|0x4000;\rwrite_2byte(0x2000);//enablethecommandmodeis28mode\rwrite_2byte(ddsl);\rwrite_2byte(dds2);\r 360@P360DDS`p??byzhangtian

收藏

分享

举报
下载此文档