//读结果寄存器到临时变量
tmpIU = 65535U – AdcRegs.ADCRESULT0; //为什么要用户65535减去寄存器中的值
tmpIV = 65535U – AdcRegs.ADCRESULT1;
tmpIW = 65535U – AdcRegs.ADCRESULT2;
tmpDBVD = AdcRegs.ADCRESULT5;
tmpAuv = AdcRegs.ADCRESULT8;
tmpBvw = AdcRegs.ADCRESULT9;
/***************************************************************/
Young Hu:
对采样值取反
//读结果寄存器到临时变量
tmpIU = 65535U – AdcRegs.ADCRESULT0; //为什么要用户65535减去寄存器中的值
tmpIV = 65535U – AdcRegs.ADCRESULT1;
tmpIW = 65535U – AdcRegs.ADCRESULT2;
tmpDBVD = AdcRegs.ADCRESULT5;
tmpAuv = AdcRegs.ADCRESULT8;
tmpBvw = AdcRegs.ADCRESULT9;
/***************************************************************/
wenli pan:
回复 Young Hu:
你好,能稍微详细的解释一下吗?