In Timer 0 Mode 0, TH0 work as 8 bit timer and TL0 work as 5 bit Timer. TH0 counts up to 31 and then reset to 00 and increments TH0 by 1
Suppose we load 0 in the timer then the timer will overflow in 2^13 i.e. 8192
1msec / 34.7222 uSec/count = 28.8 counts
256 - 28.8 = 227.2
I am only confused, what should be loaded in TH0 and what should be loaded in TL0?
TL0 = 0x1F
TH0 =0xE3
Suppose we load 0 in the timer then the timer will overflow in 2^13 i.e. 8192
1msec / 34.7222 uSec/count = 28.8 counts
256 - 28.8 = 227.2
I am only confused, what should be loaded in TH0 and what should be loaded in TL0?
TL0 = 0x1F
TH0 =0xE3
