Arduino Zero Does a timer interrupt stop the normal clock?

Hi

Does a timer interrupt stop the normal clock (GLCK0) ?
So if a timer starts then the clock gets interrupt for this time? Afterwards the clock counts again?

Thanks

Does a timer interrupt stop the normal clock (GLCK0) ?

What's the normal clock for you? GLCK0 doesn't exist, neither in the datasheet of the SAMD21 nor in the Arduino IDE core for this processor. GCLK0 provide the system clock signal so it's not interrupted.

What do you mean by "the clock gets interrupted"? What do you use that clock for?

It sounds to me like you're using long running interrupt handlers and expect everything else to work as if that code would not run inside an interrupt handler. Am I guessing correctly?

No my interrupts are as short as possible.

But if the setup is running 1 hour the clock from the arduino zero and the host differs of 1.5sec with is pretty huge.

Probably I mean clock DFLL48M

There are several different modes for timer operation. One-shot is one of them. That would stop a timer.
The GCLKs will run continuously if you leave them alone.

What do you mean "Probably I mean DFLL48M"? You have to specifically connect a clock to a generator. You don't know what clock you are connected to?

Where is your code?
Depending upon your Xtal frequency, you can't generally use the clocks as an RTC.

I use the DFLL48M, I have checked it.

My only question is if the clock signal stop if a timer interrupt occurs and starts again after?
My interrupts are really short.

Another question would be if the DFLL48M uses the XOSC32K by default or do I have to specify this?

gab27:
I use the DFLL48M, I have checked it.

My only question is if the clock signal stop if a timer interrupt occurs and starts again after?
My interrupts are really short.

No.

Another question would be if the DFLL48M uses the XOSC32K by default or do I have to specify this?

Those are two different clocks. Either one may be connected to a generator and the generator connected to a peripheral.

If you are attempting to make an RTC, that facility is available. I have not used it myself. All the requirements for it are in the data sheet.