Interrupts suffer from latency (well into us range) so it wouldn't be suitable for short delays.
If you have to use timers, you can simply wait for a timer to run up a desired number of ticks.
Interrupts suffer from latency (well into us range) so it wouldn't be suitable for short delays.
If you have to use timers, you can simply wait for a timer to run up a desired number of ticks.