Go Down

Topic: user hooks in timer ISR (Read 1 time) previous topic - next topic

pblase

For those of us that know what we're doing, it would be nice to have a hook available so that we can add functionality to the timer 0 ISR. Easy enough to do, just allow the user to pass in a subroutine address; jump if it's not NULL, ignore it if it is NULL.

PaulS

Quote
Easy enough to do, just allow the user to pass in a subroutine address; jump if it's not NULL, ignore it if it is NULL.

How does the Arduino team determine that your ISR is not going to screw up the timing of timer 0 by taking too long?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy