Intervall Timer - stop and resuming

Status
Not open for further replies.

michu

Member
Hey All

I've a question about the interval timer library. Compared to the Teensy 2 compatible TimerOne Library I miss a resume option. I saw that there are two private methods called

Code:
    static void enable_PIT();
    static void disable_PIT();

Can I define them as public and call them to stop and resume my isr? or is this a bad idea? More details about the use case, I need to drive a clock spi line in a ISR - sometimes i need to shift out also data on the spi line and then I need to stop the ISR.

Cheers and thanks for your work
Michu
 
Status
Not open for further replies.
Back
Top