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.
在为数字比较模块中的跳闸输入选择触发源时、是否可以为同一跳闸输入选择多个触发源?
例如、对于数字比较模块中的 TRIPIN4、有一个多路复用器配置可选择触发源、有两个寄存器 TRIP4MUX0TO15CFG 和 TRIP4MUX16TO31CFG。 和用于启用 MUX (TRIP4MUXENABLE)的寄存器。 我是否可以使用该寄存器 启用如下所示的多个多路复用器模块?
EPwmXbarRegs.TRIP4MUXENABLE.bit.MUX0 = 1;
EPwmXbarRegs.TRIP4MUXENABLE.bit.MUX6 = 1;
EPwmXbarRegs.TRIP4MUXENABLE.bit.MUX2 = 1;