Hacker News new | ask | show | jobs
by frmdstryr 1409 days ago
> always avoided interrupts

I'm curious... how does one achieve precise timing without interrupts?

1 comments

Cycle counting is common. Other options exist like a tight loop watching a counter register etc.
Cycle counting is dead for ARM chips with their wait states and instruction pipelines and lazy stacking. Works great for PICs though.