Disable Timer ISR while other Interrupts are kept on?

Hi Everyone,

is there a way to solely disable a Timer ISR while other interrupts are kept on.
noInterrupts(); isn't an option since it turns off all interupts, not only a specific Timer.
Is there something like detachInterrupt(); for Timers?

Thanks

Each timer has a control register that has an enable bit for the interrupt. Clear that bit to stop the interrupts from happening on that timer.

Check the datasheet for more information on each timer's particular control registers.

Why not use TIMSK0/1/2 registers to disable the interrupt?

Ooops, I said the wrong register didn't I. Either way, it's all in the datasheet in the section on the timers.

Thank you! The TIMSK0/1/2 registers worked well.