This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

setting of MR0 value for timer0

Hello,

In timer concept I want to clear a thing to load a value for MR0 for example of 1 seconds.For 1 seconds I used to load a value for MR0 using the following calculation,

F=12Mhz(PCLK)

For calculating time,T=1/F

(i.e.)T=1/(12*10^6)=0.083Usec(for 1 clock cycle)

So using this for 1sec=1hz,the MR0 value I used was 83000.Is it the correct method?

0