BAT32G1x9 user manual | Chapter 6 Universal timer unit Timer4/8
139 / 1149
Rev.1.02
A block diagram of the universal timer unit is shown in Figure 6-1.
Figure 6-1 Overall block diagram of universal timer unit 0
TIS07 TIS06 TIS05 TIS04 TOS03 TIS02 TIS01 TIS00
Timer input selection register0 (TIOS0)
TI00
TMIOB0
TMIOD0
TMIOA1
TMIOC1
TMIOB1
TMIOD1
TMIOC0
TO02 output control
input event from EVENTC
f
SUB
fIL
TI01
input event from EVENTC
TI02
TSOUT
Timer input/output
selection register (TIOS1)
TI03
RXD0
(
Serial port input
)
input switch control register
(
ISC
)
Channel 0
PRS031 PRS030 PRS021 PRS020 PRS013 PRS012 PRS011 PRS010 PRS003 PRS002 PRS001 PRS000
Timer clock selection register0 (TPS0)
pre-scaler
(
f
CLK
/2
15
~ f
CLK
/2
0
)
selector
selector
f
CLK
TM40EN
peripheral
enable register0
(
PER0
)
selector
selector
2
2
4
4
Channel 1
Channel 2
Channel 3
CK03
CK02
CK01
CK00
TO00
INTTM00
(Timer interrupt)
TO01
INTTM01
INTTM01H
INTTM02
output
control
TOS03
TO02
TO03
INTTM03
INTTM03H
s
e
le
c
to
r
s
e
le
c
to
r
s
e
le
c
to
r
s
e
le
c
to
r
s
e
le
c
to
r
Note: f
SUB
: Subsystem clock frequency
f
IL
: Low-speed internal oscillator clock frequency