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

EdwardFew
Mon Mar 18 2024, 01:14 pm
EmeryPah
Mon Mar 18 2024, 11:51 am
RobertMax
Sun Mar 17 2024, 10:22 pm
DanielJar
Fri Mar 15 2024, 06:52 pm
Tuzaimecor
Fri Mar 15 2024, 02:32 am
PromotionFoode
Thu Mar 14 2024, 08:11 pm
EdwardGeawn
Sun Mar 10 2024, 12:24 pm
ZacharyShado
Sat Mar 09 2024, 10:04 am