(*ePWM[RAMPsrc+1]).HRPCTL.bit.PWMSYNCSEL = 1;
这里面的PWMSYNCSEL 位没有找到?
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.
(*ePWM[RAMPsrc+1]).HRPCTL.bit.PWMSYNCSEL = 1;
这里面的PWMSYNCSEL 位没有找到?
struct HRPCTL_BITS { // bits description
Uint16 HRPE:1; // 0 High resolution period enable
Uint16 PWMSYNCSEL:1; // 1 PWMSYNC Source Select Bit
Uint16 TBPHSHRLOADE:1; // 2 TBPHSHR Load Enable Bit
Uint16 rsvd1:13; // 15:3 reserved
};
这里定义了第2位,但是在user‘s guide里面没有