By: Masud-ul-Hasan
8
Timer Modes (cont'd)
Timer
clock
Overflow
flag
THx
8-bits
TFx
Interrupt
TLx
8-bits
Trigger
Reload
•Timer Mode 2 (Auto-Reload):
–Timer low -byte (TLx) operates as an 8-bit timer while the timer high -byte (THx) holds a reload value.
–When the count overflows from FFH-to-00H, not only the timer flag set, but also the value in THx is loaded into TLx, and counting continues from this value up to next FFH-to-00H, so on.