stm32h7xx-hal
stm32h7xx-hal copied to clipboard
Pwm channels cleanups
I can't find any sense Polarity
to be part of channel type because it doesn't affect on what traits and methods can be implemented on type. So I've removed ActionLow
and ActionHigh
from type and added set_polarity
and set_comp_polarity
runtime methods.