MC68HC11F1/FC0
MOTOROLA
MC68HC11FTS/D
59
12.2 Timer Registers
FOCx — Force Output Compare x Action
0 = Not affected
1 = Output compare x action occurs, but OCxF flag bit is not set
Bits [2:0] — Not implemented. Reads always return zero and writes have no effect.
Bits set in OC1M allow OC1 to output the corresponding OC1D bits in port A when a successful com-
pare event occurs.
OC1M[7:3] — Output Compare Masks
0 = Control of the corresponding port A pin is disabled
1 = Control of the corresponding port A pin is enabled
Bits [2:0] — Not implemented. Reads always return zero and writes have no effect.
OC1D[7:3] — Output Compare Data
Data in OC1Dx is output to port A bit x on successful OC1 compares if OC1Mx is set.
Bits [2:0] — Not implemented. Reads always return zero and writes have no effect.
The 16-bit read-only TCNT register contains the prescaled value of the 16-bit timer. A full counter read
addresses the most significant byte (MSB) first. A read of this address causes the least significant byte
to be latched into a buffer for the next CPU cycle so that a double-byte read returns the full 16-bit state
of the counter at the time of the MSB read cycle.
CFORC — Timer Force Compare
$x00B
Bit 7
6
5
4
3
2
1
Bit 0
FOC1
FOC2
FOC3
FOC4
FOC5
0
0
0
RESET:
0
0
0
0
0
0
0
0
OC1M — Output Compare 1 Mask $x00C
Bit 7
6
5
4
3
2
1
Bit 0
OC1M7
OC1M6
OC1M5
OC1M4
OC1M3
0
0
0
RESET:
0
0
0
0
0
0
0
0
OC1D — Output Compare 1 Data $x00D
Bit 7
6
5
4
3
2
1
Bit 0
OC1D7
OC1D6
OC1D5
OC1D4
OC1D3
0
0
0
RESET:
0
0
0
0
0
0
0
0
TCNT — Timer Count $x00E,
$x00F
$x00E
Bit 15
14
13
12
11
10
9
Bit 8
High
$x00F
Bit 7
6
5
4
3
2
1
Bit 0
Low
RESET:
0
0
0
0
0
0
0
0