English
Language : 

MC68HC11P2 Datasheet, PDF (150/268 Pages) Motorola, Inc – Microcontrollers
Timing System
Freescale Semiconductor, Inc.
8.5.6 TCTL1 — Timer control register 1
Timer control 1 (TCTL1)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0020 OM2 OL2 OM3 OL3 OM4 OL4 OM5 OL5 0000 0000
The bits of this register specify the action taken as a result of a
successful OCx compare.
OM[2:5] — Output mode
OL[2:5] — Output level
OMx
0
0
1
1
OLx Action taken on successful compare
0 Timer disconnected from OCx pin logic
1 Toggle OCx output line
0 Clear OCx output line to 0
1 Set OCx output line to 1
These control bit pairs are encoded to specify the action taken after a
successful OCx compare. OC5 functions only if the I4/O5 bit in the
PACTL register is clear.
8.5.7 TMSK1 — Timer interrupt mask register 1
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Timer interrupt mask 1 (TMSK1) $0022 OC1I OC2I OC3I OC4I I4/O5I IC1I IC2I IC3I 0000 0000
Use this 8-bit register to enable or inhibit the timer input capture and
output compare interrupts.
NOTE: Bits in TMSK1 correspond bit for bit with flag bits in TFLG1. Ones in
TMSK1 enable the corresponding interrupt sources.
OC1I–OC4I — Output compare x interrupt enable
1 = OCx interrupt is enabled.
0 = OCx interrupt is disabled.
If the OCxI enable bit is set when the OCxF flag bit is set, a hardware
interrupt sequence is requested.
Technical Data
Timing System
For More Information On This Product,
Go to: www.freescale.com
MC68HC11P2 — Rev 1.0