MOTOROLA
D-8
REGISTER SUMMARY
MC68331
USER’S MANUAL
D
D.2.8 TIC[1:3]
— Input Capture Registers 1–3
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.
$YFF90E–$YFF912
D.2.9 TOC[1:4]
— Output Compare Registers 1–4
The 16-bit read/write output compare registers can be used as output waveform con-
trols or as elapsed time indicators. For output compare functions, they are written to a
desired match value and compared against TCNT to control specified pin actions.
They are reset to $FFFF.
$YFF914–$YFF91A
D.2.10 TI4/O5
— Input Capture 4/Output Compare 5 Register
This register serves either as input capture register 4 or output compare register 5, de-
pending on the state of I4/O5 in PACTL.
$YFF91C
D.2.11 TCTL1/TCTL2
— Timer Control Registers 1 and 2
$YFF91E
TCTL1 determines output compare mode and output logic level. TCTL2 determines
the type of input capture to be performed.
OM/OL[5:2] — Output Compare Mode Bits and Output Compare Level Bits
Each pair of bits specifies an action to be taken when output comparison is successful.
EDGE[4:1] — Input Capture Edge Control
Each pair of bits configures input sensing logic for the corresponding input capture.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
OM5
OL5
OM4
OL4
OM3
OL3
OM2
OL2
EDGE4
EDGE3
EDGE2
EDGE1
RESET:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
OM/OL[5:2]
00
01
10
11
Action Taken
Timer Disconnected from Output Logic
Toggle OCx Output Line
Clear OCx Output Line to zero
Set OCx Output Line to one
EDGE[4:1]
00
01
10
11
Configuration
Capture Disabled
Capture on Rising Edge Only
Capture on Falling Edge Only
Capture on Any (Rising or Falling) Edge