sentry_left/bsp/pwm/bsp_pwm.md

6 lines
326 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# bsp pwm
同一定时器下的pwm通道更改周期时请注意该定时器下是否有其他pwm示例如果有请注意不要影响其他pwm通道的周期。
使用pwm dma传输中断时注意占空比的设置设为0将不会进入中断函数
默认tim psc已在cubemx设置好详情可参考cubemx配置文件