www
.mcu.com.cn
107
/
239
Rev.
1.00
CMS80F731x Reference Manual
11.4 Timer3 Working Mode
11.4.1
T3 - Mode 0 (13-bit Timing Mode)
In this mode, timer 3 is a 13-bit register. When all the bits of the timer are flipped from 1 to 0, the timer 3 interrupt flag TF3
is set to 1. The 13-bit register consists of TH3 and TL3 low 5 bits. TL3 high 3 bits should be ignored. The block diagram of
Timer3 mode 0 is shown in the following figure:
T34MOD.3
EIF2.0
TL3
5Bit
:12-T3M=0
: 4-T3M=1
TH3
8Bit
interrupt request
CLK
11.4.2
T3 - Mode 1 (16-bit Timing Mode)
Mode 1 is the same as mode 0, except that timer 3 registers 16 bits are all running in mode 1. The block diagram of
Timer3 mode 1 is shown in the following figure:
T34MOD.3
EIF2.0
TL3
8Bit
:12-T3M=0
: 4-T3M=1
TH3
8Bit
interrupt request
CLK