F28035的AD采样是SOC模式的,触发方式有多重,一直没搞懂这种的软件触发方式是如何触发的,是每次触发的时候写触发代码?触发代码有些过的吗?还是跟随序列中的其它通道一起被转化?
TrigSel[0] = ADCTRIG_EPWM4_SOCA;
TrigSel[1] = ADCTRIG_EPWM4_SOCA;
TrigSel[2] = ADCTRIG_EPWM4_SOCA;
TrigSel[3] = ADCTRIG_EPWM4_SOCA;
TrigSel[4] = ADCTRIG_EPWM4_SOCA;
TrigSel[5] = ADCTRIG_SOFT;
TrigSel[6] = ADCTRIG_SOFT;
TrigSel[7] = ADCTRIG_SOFT;
TrigSel[8] = ADCTRIG_SOFT;
TrigSel[9] = ADCTRIG_SOFT;
TrigSel[10]= ADCTRIG_SOFT;
|