[SOLVED] TMR0 increase with clock cycle or machine cycle?

Status
Not open for further replies.

d@nny

Full Member level 5
Joined
May 28, 2011
Messages
246
Helped
11
Reputation
22
Reaction score
11
Trophy points
1,298
Activity points
3,238
hello!
how the pic16f84 tmr0 module increase? In data sheet it says that with instruction cycle? i cant understand wot they means by instruction cycle? is instruction cycle is machine cycle or it is clock cycle i mean 1 clock tick = to 1 instruction cycle or it is 4 clock ticks = 1 instruction cycle = 1 machine cycle
thanking you in anticipation
danny
 

Hi,
For PIC, 4 clock ticks = 1 instruction cycle = 1 machine cycle. So the value of TMR0 increases with each 4 clock ticks, so it increases with each instruction cycle, which means each machine cycle.

Hope this helps.
Tahmid.
 
Last edited:
Reactions: d@nny

    d@nny

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…