top | item 32384416

(no title)

frmdstryr | 3 years ago

> always avoided interrupts

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

discuss

order

dave78|3 years ago

Cycle counting is common. Other options exist like a tight loop watching a counter register etc.

markrages|3 years ago

Cycle counting is dead for ARM chips with their wait states and instruction pipelines and lazy stacking. Works great for PICs though.