Interrupts
The Interrupts parameters allow you to configure the initial interrupt sources. These values are
ORed with any of the other Interrupt parameters to give a final group of events that can trigger
an interrupt. The software can re-configure this mode at any time as long as Interrupts were not
set to "None"; this parameter simply defines an initial configuration.
• None – No interrupts are set.
• Interrupt On Terminal Count Event –This option is always available; it is set to "false" by
default.
• Interrupt On Compare 1 Event – This option is set to "false" by default. It is always
shown.
• Interrupt On Compare 2 Event – This option is set to "false" by default. It is only
available when "UDB" is selected for Implementation and PWM Mode is set
appropriately.
• Interrupt On Kill Event – This option is set to "false" by default. It is only available when
"UDB" is selected for Implementation and PWM Mode is set appropriately.
pwm每发生一个波形后触发中断改变一次占空比 - 可行
还有pwm他的中断是否就是每产生一次波形触发一次中断?- 可以设置 |