MC68HC711PH8 Motorola, MC68HC711PH8 Datasheet - Page 146

no-image

MC68HC711PH8

Manufacturer Part Number
MC68HC711PH8
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
Manufacturer
Motorola
Datasheet
8
8.1.4.1
All output compare registers are 16-bit read-write. Each is initialized to $FFFF at reset. If an output
compare register is not used for an output compare function, it can be used as a storage location.
A write to the high-order byte of an output compare register pair inhibits the output compare
function for one bus cycle. This inhibition prevents inappropriate subsequent comparisons.
Coherency requires a complete 16-bit read or write. However, if coherency is not needed, byte
accesses can be used.
For output compare functions, write a comparison value to output compare registers TOC1–TOC4
and TI4/O5. When TCNT value matches the comparison value, specified pin actions occur.
All TOCx register pairs reset to ones ($FFFF).
8.1.4.2
The CFORC register allows forced early compares. FOC[1:5] correspond to the five output
compares. These bits are set for each output compare that is to be forced. The action taken as a
result of a forced compare is the same as if there were a match between the OCx register and the
free-running counter, except that the corresponding interrupt status flag bits are not set. The
forced channels trigger their programmed pin actions to occur at the next timer count transition
after the write to CFORC.
The CFORC bits should not be used on an output compare function that is programmed to toggle
its output on a successful compare because a normal compare that occurs immediately before or
after the force can result in an undesirable operation.
MOTOROLA
8-12
Timer output compare 1 (TOC1) high
Timer output compare 2 (TOC2) high
Timer output compare 3 (TOC3) high
Timer output compare 4 (TOC4) high $001C (bit 15)
Timer output compare 1 (TOC1) low
Timer output compare 2 (TOC2) low
Timer output compare 3 (TOC3) low
Timer output compare 4 (TOC4) low
Timer compare force (CFORC)
TOC1–TOC4 — Timer output compare registers
CFORC — Timer compare force register
Address
Address
$001A (bit 15)
$001B
$001D
$000B
$0016 (bit 15)
$0017
$0018 (bit 15)
$0019
FOC1 FOC2 FOC3 FOC4 FOC5
(bit 7)
(bit 7)
(bit 7)
(bit 7)
bit 7
bit 7
TIMING SYSTEM
bit 6
bit 6
(14)
(14)
(14)
(14)
(6)
(6)
(6)
(6)
bit 5
(13)
(13)
(13)
(13)
bit 5
(5)
(5)
(5)
(5)
bit 4
bit 4
(12)
(12)
(12)
(12)
(4)
(4)
(4)
(4)
bit 3
(11)
(11)
(11)
(11)
bit 3
(3)
(3)
(3)
(3)
bit 2
bit 2
(10)
(10)
(10)
(10)
(2)
(2)
(2)
(2)
0
bit 1
bit 1
(9)
(1)
(9)
(1)
(9)
(1)
(9)
(1)
0
MC68HC11PH8
(bit 8) 1111 1111
(bit 0) 1111 1111
(bit 8) 1111 1111
(bit 0) 1111 1111
(bit 8) 1111 1111
(bit 0) 1111 1111
(bit 8) 1111 1111
(bit 0) 1111 1111
bit 0
bit 0
0
0000 0000
on reset
on reset
State
State
TPG

Related parts for MC68HC711PH8