English
Language : 

UPSD3422_06 Datasheet, PDF (91/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
uPSD34xx
Standard 8032 timer/counters
Figure 25. Timer/counter mode 0: 13-bit counter
fOSC
C1 pin
÷ 12
C/T = 0
C/T = 1
Control
TL1
TH1
(5 bits) (8 bits)
TR1
Gate
EXTINT1 pin
Figure 26. Timer/counter mode 2: 8-bit Auto-reload
fOSC
C1 pin
÷ 12
C/T = 0
C/T = 1
Control
TL1
(8 bits)
TR1
Gate
EXTINT1 pin
TH1
(8 bits)
Figure 27. Timer/counter mode 3: two 8-bit counters
fOSC
C0 pin
÷ 12
C/T = 0
C/T = 1
Control
TL0
(8 bits)
TR0
Gate
EXTINT0 pin
fOSC
÷ 12
Control
TH0
(8 bits)
TR1
TF1
Interrupt
AI06622
TF1
Interrupt
AI06623
TF0
Interrupt
TF1
Interrupt
AI06624
20.6
Timer 2
Timer 2 can operate as either an event timer or as an event counter. This is selected by the
bit C/T2 in the SFR named, T2CON (Table 43 on page 93). Timer 2 has three operating
modes selected by bits in T2CON, according to Table 44 on page 94. The three modes are:
● Capture mode
● Auto re-load mode
● Baud rate generator mode
91/293