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.

28379SPWM模块TB子模块



我发现一个寄存器

EPwm1.Regs.TBCTL.bit.CTRMODE可以通过写入0x3来禁止TB计数

又发现第二个寄存器

CpuSysRegs.PCLKCR0.bit.TBCLKSYNC写入1可以使能所有PWM模块的TB计数。

问题是,难道这两个寄存器都起到禁止和使能TB计数的作用吗?第二个寄存器有将所有TB同时启动的作用吗?