I suggest giving the timer usage in the documentation
technoblogy opened this issue · 4 comments
It would be good to have a sentence in the documentation stating which timers are used by default for Arduino functions; I believe it's TCB2 for millis() and delay(), but it would be good to have a statement to that effect.
Is someone spoiled by my essay-length documentation?
https://github.com/SpenceKonde/DxCore/blob/master/megaavr/extras/Ref_Timers.md
(the timer doc is by far the longest, comes to 75kb of text. In total, the Ref_ docs, which are intended to be the authoritative ones, come to 570kb, give or take.
I'd settle for something less definitive than that!
The Timer used for millis() is given in the variants files with pins_arduino.h.
I believe it's TCB2 for millis() and delay()
Depends on the processor/board. For the Nano Every and UnoWiFi using the 4809 its TCB3.