Closed GoogleCodeExporter closed 9 years ago
That should say "976 Hz" not "967.xxx usec"
I can get my bit banging done over 85 10 usec tics (850) (distributed in 2 usec
slices) so there is still lots of time left for background and other ints. And
I don't do anything again for 10s of milliseconds, but the inability to hook
the vector is frustrating. I now have to hack wiring.c and put my code in there
to minimize the jiggery pokery that would otherwise need to be done.
And 'listner' functions would have to be short, since they are being called
WITHIN an interrupt. And other ISR's should be non blocking if possible
(notably serial).
I suppose one could write a 'prioritizer' ISR that traps ALL activated ints,
and then dispatched them in priority order. Unfortunate that the AVR has no
'execution priority' register that would block lower priority interrupts.
Original comment by RCR...@gmail.com
on 9 Oct 2011 at 5:42
This sounds like a duplicate of the issues you're linking to. Or is there
another suggestion here that isn't covered there?
Original comment by dmel...@gmail.com
on 10 Oct 2011 at 4:44
I referenced the other discussion to put this request into context.
"DON'T hook timer0 interrupt or create ANY code if no timer functions are used.
e.g. delay, millis, micros, etc., so user can more easily create ones own
timer0 handler."
And so one doesn't have 400 some bytes of UNNEEDED code if timers are not used.
As long as you are looking at timer0, it would be good to address the other
issues I referenced since they are all closely interrelated.
Original comment by RCR...@gmail.com
on 11 Oct 2011 at 3:57
Original issue reported on code.google.com by
RCR...@gmail.com
on 9 Oct 2011 at 5:29