Hi,
Does anyone know what BRK_OFF, BRK_LOW, and BRK_HIGH do in the Timer class, they are undocumented? To which methods are they arguments?
Thanks,
Howard.
Anyone know what BRK_OFF etc. in Timer do?
Re: Anyone know what BRK_OFF etc. in Timer do?
From stm32/timer.c -- it applies to both timer.init() and the Timer() constructor.
Code: Select all
/// - `brk` - specifies if the break mode is used to kill the output of
/// the PWM when the BRK_IN input is asserted. The polarity set how the
/// BRK_IN input is triggered. It can be set to `BRK_OFF`, `BRK_LOW`
/// and `BRK_HIGH`.
These old inline documentation comments should really be deleted I think...
Re: Anyone know what BRK_OFF etc. in Timer do?
Thanks, have submitted a pull request.