diff options
author | Damien George <damien.p.george@gmail.com> | 2019-02-03 23:00:44 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-02-08 01:20:13 +1100 |
commit | 1bcf4afb10434e8b1e1b73e3e402c48c75f213fc (patch) | |
tree | 4ad95bb02cb8ce77af773efbcda04da55d258523 /py/builtinhelp.c | |
parent | 5fbda53d3c43e94a18a66d49a4c315f0af86e204 (diff) |
stm32/systick: Make periodic systick callbacks use a cyclic func table.
Instead of checking each callback (currently storage and dma) explicitly
for each SysTick IRQ, use a simple circular function table indexed by the
lower bits of the millisecond tick counter. This allows callbacks to be
easily enabled/disabled at runtime, and scales well to a large number of
callbacks.
Diffstat (limited to 'py/builtinhelp.c')
0 files changed, 0 insertions, 0 deletions