手册中关于EpwmXbar的一章,其中Table 13-13. ePWM X-BAR Mux Configuration Table表述有点问题
MUX的取值应该为 0 1 2 3 , 例程cmpss_asynch_cpu01里的用法是对的
//Configure TRIP4 to be CTRIP1H
EPwmXbarRegs.TRIP4MUX0TO15CFG.bit.MUX0 = 0;
//Enable TRIP4 Mux for Output
EPwmXbarRegs.TRIP4MUXENABLE.bit.MUX0 = 1;