Hi. I know that TMR0 stops for two cycles if it's written to. I usually work around this by writing an adjusted value, as suggested in the datasheet.
I would like to know your opinion on the prescaler operation, when it is assigned to TMR0 and TMR0 is written to.
I would like to know your opinion on the prescaler operation, when it is assigned to TMR0 and TMR0 is written to.
(from the datasheet of the PIC16F628A)When assigned to the Timer0 module, all instructions writing to the TMR0 register (e.g., CLRF 1, MOVWF 1, BSF 1, x....etc.) will clear the prescaler.