I am trying to setup an ATTiny1614 to do a special job. It appears to me TCD0, the Type D Timer, is being used by the Core, almost certainly for PWM. I do not need the PWM functionality. Is there an easy way to disable it? It appears to me the core code is updating the timer registers, and is hooked to the timer interrupt vector, and I need to control the timer, and handle its interrupts, myself.
It appears to me TCD0, the Type D Timer, is being used by the Core, almost certainly for PWM.
My guess is that the timer is used for the millis()/delay() functionality. This is a core feature of the Arduino IDE. AFAIK you can disable that if you don't use the setup()/loop() routines but do everything yourself and use the main() routine as if there was no IDE functionality at all.
Turns out the board package for the ATtiny family supports the option of moving the millis() functionality to TCA, TCB or TCD. With TCD used for millis(), I moved my function to TCA, and all is working fine now.