Interrupt waiting Time 1s

hi joepotter
see this


general formula for timer is

(65536-xx)*machine cycle= delay u want
where xx is a 16 bit no having value of TH0 and TL0

when timer run in 16 bit mode with 11.0592 mhz max delay
that can be generated is 72 ms almost.

now let say u use 12MHz crystal then Machine cycle is calculated
as for every crystal value


(crystal value / 12)= frequency

(1 / frequency) = Machine cycle

now for 12 MHz
12... Read Compelte post

Posted by majoka on Thu Nov 25 2010, 11:03 am

Downloads

Comments

TimothyLep
Sat Sep 07 2024, 08:52 pm
KennethRak
Sat Sep 07 2024, 07:35 pm
Derekloaps
Sat Sep 07 2024, 03:27 pm
Charleszepaf
Sat Sep 07 2024, 10:08 am
Glenngreet
Sat Sep 07 2024, 09:51 am
LindaTrene
Sat Sep 07 2024, 06:09 am
BlaseraSHABE
Sat Sep 07 2024, 05:07 am
Anya67sa
Sat Sep 07 2024, 04:48 am