Showing changes from revision #0 to #1:
Added | Removed | Changed
void HAL_TimerSetPeriod(int timer, unsigned int period)
Entry | |
---|---|
timer | Timer number to modify |
period | Timer period, in units of Granularity |
Exit | |
---|---|
- |
Sets period of timer n. If period > 0, the timer will generate interrupts
every (period / granularity) seconds. If period = 0, the timer may be
stopped. This may not be possible on some hardware, so the corresponding
interrupt should be masked in addition to calling this function with period
0. If period > maxperiod, behaviour is undefined.