mc68331cpv20b1 Freescale Semiconductor, Inc, mc68331cpv20b1 Datasheet - Page 216

no-image

mc68331cpv20b1

Manufacturer Part Number
mc68331cpv20b1
Description
Mc68331 32 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
D
D.2.8 TIC[1:3] — Input Capture Registers 1–3
D.2.9 TOC[1:4] — Output Compare Registers 1–4
D.2.10 TI4/O5 — Input Capture 4/Output Compare 5 Register
D.2.11 TCTL1/TCTL2 — Timer Control Registers 1 and 2
OM/OL[5:2] — Output Compare Mode Bits and Output Compare Level Bits
EDGE[4:1] — Input Capture Edge Control
D-8
OM5
15
0
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.
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.
This register serves either as input capture register 4 or output compare register 5, de-
pending on the state of I4/O5 in PACTL.
TCTL1 determines output compare mode and output logic level. TCTL2 determines
the type of input capture to be performed.
Each pair of bits specifies an action to be taken when output comparison is successful.
Each pair of bits configures input sensing logic for the corresponding input capture.
RESET:
OL5
14
0
OM4
13
0
OL4
12
0
OM/OL[5:2]
EDGE[4:1]
Freescale Semiconductor, Inc.
OM3
11
For More Information On This Product,
0
00
01
10
11
00
01
10
11
OL3
10
0
Go to: www.freescale.com
REGISTER SUMMARY
OM2
9
0
OL2
Capture on Any (Rising or Falling) Edge
8
0
Timer Disconnected from Output Logic
Clear OCx Output Line to zero
Capture on Falling Edge Only
Capture on Rising Edge Only
Set OCx Output Line to one
7
0
Toggle OCx Output Line
EDGE4
Capture Disabled
Configuration
Action Taken
6
0
5
0
EDGE3
4
0
$YFF914–$YFF91A
$YFF90E–$YFF912
3
0
EDGE2
USER’S MANUAL
2
0
$YFF91C
$YFF91E
1
0
MC68331
EDGE1
0
0

Related parts for mc68331cpv20b1