10.01.2016 21:05, Dmitry Osipenko пишет:
I missed case where periodic timer should stop in the following case:
load = 0, counter != 0 -> run -> set counter = 0 -> should stop
Test added. Will fix it in V11.
Forgot to mention that prescaler must be 0 in that case. Prescaler != 0 would
result
I missed case where periodic timer should stop in the following case:
load = 0, counter != 0 -> run -> set counter = 0 -> should stop
Test added. Will fix it in V11.
--
Dmitry
Current ARM MPTimer implementation uses QEMUTimer for the actual timer,
this implementation isn't complete and mostly tries to duplicate of what
generic ptimer is already doing fine.
Conversion to ptimer brings the following benefits and fixes:
- Simple timer pausing implementation