This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

对采集的AD寄存器的值作处理的程序看不懂呀,

Other Parts Discussed in Thread: TMS320F2808

//读结果寄存器到临时变量
    tmpIU = 65535U - AdcRegs.ADCRESULT0;    //为什么要用户65535减去寄存器中的值
    tmpIV = 65535U - AdcRegs.ADCRESULT1;
    tmpIW = 65535U - AdcRegs.ADCRESULT2;
    tmpDBVD = AdcRegs.ADCRESULT5;
    tmpAuv = AdcRegs.ADCRESULT8;
    tmpBvw = AdcRegs.ADCRESULT9;

/***************************************************************/