Hi,
I think this is a very simple question for many of you but since I'm new to the PIC world I need your help to understand this. Please help.
When I read the user manual I found the following statements that I cannot understand well.
"When the prescaler is assigned to the Timer0 module, any write to the TMR0 register will immediately update the TMR0 register and clear the prescaler."
Does this mean the prescaler gets reset at every time Timer0 writes to TMR0 register?
And the second statement completely avoids me.
"The incrementing of Timer0 (TMR0 and Prescaler) will also be inhibited 2 instruction cycles (TCY). So if the prescaler is configured as 2, then after a write to the TMR0 register TMR0 will not increment for 4 Timer0 clocks. After that, TMR0 will increment every prescaler number of clocks later."
Please help me to understand what these mean.
Thank you!
I think this is a very simple question for many of you but since I'm new to the PIC world I need your help to understand this. Please help.
When I read the user manual I found the following statements that I cannot understand well.
"When the prescaler is assigned to the Timer0 module, any write to the TMR0 register will immediately update the TMR0 register and clear the prescaler."
Does this mean the prescaler gets reset at every time Timer0 writes to TMR0 register?
And the second statement completely avoids me.
"The incrementing of Timer0 (TMR0 and Prescaler) will also be inhibited 2 instruction cycles (TCY). So if the prescaler is configured as 2, then after a write to the TMR0 register TMR0 will not increment for 4 Timer0 clocks. After that, TMR0 will increment every prescaler number of clocks later."
Please help me to understand what these mean.
Thank you!