M68HC16 Z SERIES
REGISTER SUMMARY
USER’S MANUAL
D-71
PCLKS — PCLK Pin State (Read Only)
I4/O5 — Input Capture 4/Output Compare 5
0 = Output compare 5 enabled
1 = Input capture 4 enabled
PACLK[1:0] — Pulse Accumulator Clock Select (Gated Mode)
shows the PACLK[1:0] bit field effects.
PACNT — Pulse Accumulator Counter
Eight-bit read/write counter used for external event counting or gated time accumula-
tion.
D.8.8 Input Capture Registers 1–3
TIC[1:3] — Input Capture Registers 1–3
$YFF90E – $YFF912
The input capture registers are 16-bit read-only registers used to latch the value of
TCNT when a specified transition is detected on the corresponding input capture pin.
They are reset to $FFFF.
D.8.9 Output Compare Registers 1–4
TOC[1:4] — Output Compare Registers 1–4
$YFF914 – $YFF91A
The output compare registers are 16-bit read/write registers which can be used as out-
put waveform controls or as elapsed time indicators. For output compare functions,
they are written to a desired match value and compared against TCNT to control spec-
ified pin actions. They are reset to $FFFF.
Table D-44 PAMOD and PEDGE Effects
PAMOD
PEDGE
Effect
0
0
PAI falling edge increments counter
0
1
PAI rising edge increments counter
1
0
Zero on PAI inhibits counting
1
1
One on PAI inhibits counting
Table D-45 PACLK[1:0] Effects
PACLK[1:0]
Pulse Accumulator Clock Selected
00
System clock divided by 512
01
Same clock used to increment TCNT
10
TOF flag from TCNT
11
External clock, PCLK
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
.
..