aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/timer_irq.h
Commit message (Collapse)AuthorAgeFilesLines
* sched: Implement generic sleep mechanism based on tasks pendingKevin O'Connor2017-08-081-1/+0
| | | | | | | | | Track when tasks are pending and spin in irq_wait() when no tasks are pending. This improves the mechanism for sleeping the processor - it's simpler for the board specific code and it reduces the possibility of the processor sleeping when tasks are busy. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* irq: Support sleeping when mcu is idleKevin O'Connor2017-07-171-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* timer_irq: Integrate timer_try_set_next() into timer_dispatch_many()Kevin O'Connor2017-03-301-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* timer_irq: Rename generic/timer.c to generic/timer_irq.cKevin O'Connor2017-03-301-0/+6
Rename the file to make it clear that the code is helper functions for boards with irq based timers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>