www
.mcu.com.cn
110
/
239
Rev.
1.00
CMS80F731x Reference Manual
11.5.3
T4- Mode 2 (8-bit Auto Reload Timing Mode)
The timer 4 register in mode 2 is an 8-bit timer (TL4) with an auto-reload mode, as shown in the figure below. The
overflow from TL4 not only makes TF4 1, but also reloads the contents of TH4 from software to TL4. The value of TH4
remains unchanged during Reloading. The block diagram of Timer4 mode 2 is shown in the following figure:
T34MOD.7
EIF2.1
TL4
8Bit
:12-T4M=0
: 4-T4M=1
TH4
8Bit
interrupt request
Reset
CLK
11.5.4
T4 - Mode 3 (Stop Count)
Timer 4 in mode 3 stops counting with the same effect as setting TR4=0.