English
Language : 

MC68HC11KW1 Datasheet, PDF (171/238 Pages) Motorola, Inc – High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
FT3C[1:4] and FT2C[1:4] — Force output compares
1 (set) – A forced output compare action will occur on the appropriate pin.
0 (clear) – No action.
9.2.4 T2C4 — Timer 2 channel 4 register
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Timer 2 channel 4 (T2C4) high $008A (bit 15) (14) (13) (12) (11) (10) (9) (bit 8) 1111 1111
Timer 2 channel 4 (T2C4) low $008B (bit 7) (6) (5) (4) (3) (2) (1) (bit 0) 1111 1111
Use T2C4 as either an input capture register or an output compare register, depending on the
function chosen for the PJ7 pin. To enable it as an input capture pin, set the I1/O4 bit in the timer
control register 4 (TCTL4). To use it as an output compare pin, clear the I1/O4 bit. Refer to
Section 9.2.8.
The T2C4 register pair resets to ones ($FFFF).
9.2.5 T2OC1–T2OC3 — Timer 2 output compare registers
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Timer 2 output compare 1 (T2OC1)
high
$0084 (bit 15)
(14)
(13)
(12)
(11)
(10)
(9) (bit 8) 1111 1111
9
Timer 2 output compare 1 (T2OC1) low $0085 (bit 7) (6) (5) (4) (3) (2) (1) (bit 0) 1111 1111
Timer 2 output compare 2 (T2OC2)
high
$0086 (bit 15)
(14)
(13)
(12)
(11)
(10)
(9) (bit 8) 1111 1111
Timer 2 output compare 2 (T2OC2) low $0087 (bit 7) (6) (5) (4) (3) (2) (1) (bit 0) 1111 1111
Timer 2 output compare 3 (T2OC3)
high
$0088 (bit 15)
(14)
(13)
(12)
(11)
(10)
(9) (bit 8) 1111 1111
Timer 2 output compare 3 (T2OC3) low $0089 (bit 7) (6) (5) (4) (3) (2) (1) (bit 0) 1111 1111
These three 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
T2OC1–T2OC3 and TI1/O4. When TCNT2 value matches the comparison value, the specified pin
actions occur.
MC68HC11KW1
TIMING SYSTEM
9-19