M68HC16 Z SERIES
GENERAL-PURPOSE TIMER
USER’S MANUAL
11-11
Figure 11-3 Capture/Compare Unit Block Diagram
16/32 CC BLOCK
SYSTEM
CLOCK
16-BIT LATCH
CLK
8
7
6
5
4
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
PARALLEL PORT
PIN CONTROL
OC1I
OC2I
OC3I
OC4I
I4/O5I
TFLG1
STATUS
FLAGS
FOC1
FOC2
FOC3
FOC4
FOC5
OC1F
OC2F
OC3F
OC4F
I4/O5F
I4/O5
16-BIT COMPARATOR
TOC1 (HI)
TOC1 (LO)
=
16-BIT COMPARATOR
TOC2 (HI)
TOC2 (LO)
=
16-BIT COMPARATOR
TOC3 (HI)
TOC3 (LO)
=
16-BIT COMPARATOR
TOC4 (HI)
TOC4 (LO)
=
16-BIT COMPARATOR
TI4/O5 (HI) TI4/O5 (LO)
=
16-BIT FREE RUNNING
COUNTER
TCNT (HI)
TCNT (LO)
9
TOI
TOF
INTERRUPT REQUESTS
PRESCALER – DIVIDE BY
4, 8, 16, 32, 64, 128, 256
CPR2
CPR1
16-BIT TIMER BUS
OC5
IC4
1
2
3
BIT 0
BIT 1
BIT 2
IC1I
IC2I
IC3I
IC1F
IC2F
IC3F
16-BIT LATCH
TIC1 (HI)
TIC1 (LO)
CLK
16-BIT LATCH
TIC2 (HI)
TIC2 (LO)
CLK
16-BIT LATCH
TIC3 (HI)
TIC3 (LO)
CLK
TMSK1
INTERRUPT
ENABLES
CFORC
FORCE OUTPUT
COMPARE
PIN
FUNCTIONS
CPR0
1 OF 8 SELECT
PCLK
IC4/OC5/
OC4/OC1
OC3/OC1
OC2/OC1
OC1
IC3
IC2
IC1
PGP0
PGP1
PGP2
PGP3
PGP4
PGP5
PGP6
PGP7
OC1
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..