Kuba0040
Well-known member
Hello,
I am working on a project that requires some precise timing. Not only repeated interrupts on equal intervals but also precise time delays. So I want to use the 32 bit hardware timers of the Teensy 4.0. I am aware of the IntervalTimer object. But that isn't enough. So here is my question: (More like questions) How do I setup and use the timers directly, like you would modify the registers on AVR (or via a library that allows you to set the same things). How do I set the priority for the timer interrupts to better manage my CPU time? What priority and what timer does the Audio library use?
Thanks for the help
I am working on a project that requires some precise timing. Not only repeated interrupts on equal intervals but also precise time delays. So I want to use the 32 bit hardware timers of the Teensy 4.0. I am aware of the IntervalTimer object. But that isn't enough. So here is my question: (More like questions) How do I setup and use the timers directly, like you would modify the registers on AVR (or via a library that allows you to set the same things). How do I set the priority for the timer interrupts to better manage my CPU time? What priority and what timer does the Audio library use?
Thanks for the help