English
Language : 

MC81F4332 Datasheet, PDF (133/198 Pages) Finechips – ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
19.4 Timer 2 16-Bit Mode
MC81F4432
T2CS
fxx/1024
fxx/256
fxx/64
fxx/16
fxx/8
fxx/4
fxx/2
fxx/1
fxt
EC2
Counter stop
M
EXT5
U
X
Data BUS
T2OVIE
Timer 2 overflow INT enable
OVF
T2OVIR
T2 Overflow
M
8
Timer 2 Overflow INT request Interrupt
T3CR
T2CR
U
16-Bit Up Counter
(Read - only)
R
Clear
T2OF
T2CC
Match signal
X
Clear
T2MIE
Timer 2 INT enable
16-Bit Comparator
Match
T2MIR
T2 Match
Timer 2 Match INT request Interrupt
T2O
T2MIF
Timer 2 Buffer Register
EINT0H
MSB Timer 2 Data Register LSB
EXT5
Interrupt
T3DR
8
T2DR
Timer 3 + Timer 2 Timer 2 (16bit) Data BUS
T2CC
Overflow signal
Match signal
Figure 19-3 16-bit Timer 2 Block Diagram
The 16-bit timer 2 is a 16-bit general-purpose timer. Timer 2 has two operating modes, you can select
one of them using the appropriate T2SCR setting:
- Interval timer mode (Toggle output at T2O pin)
- Capture input mode with a rising or falling edge trigger at EXT5 pin
The 16-bit timer 2 has the following functional components:
- Clock frequency divider (fxx divided by 1024, 256, 64, 16, 8, 4, 2, 1, fxt) with multiplexer
- External clock input pin, EC2 (R06)
- I/O pins for capture input, EXT5 (R07) or match output T2O (R07)
- 16-bit counter (T2CR+T3CR), 16-bit comparator, and 16-bit reference data register
(T2DR+T3DR)
- Timer 2 status and control register (T2SCR)
- Timer 2 overflow interrupt and match interrupt generation
October 19, 2009 Ver.1.35
133