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)\roEHwx\rvoidoutput(unsignedlongfreq_value)\r(\runsignedlongdds;//32bitdataforddscontrolword\ruintdds1,dds2;\rdds=freq_value*18.64135111111;o,G+,?MijZ@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