
MB90560 series
CHAPTER 12 MULTI-FUNCTION TIMER
299
12.3.2 Registers of 16-bit Output Compare
12.3.2.1 Compare Registers (OCCP0~5)
Compare registers (OCCP0~5) are used to set the compare value for the 16-bit free-run
timer.
I
Compare Registers (OCCP0~5)
Figure 12.3.2.1-1 Compare Registers (OCCP0~5)
The compare registers (OCCP0~5) are 16-bit registers which are used to compare the count value of
16-bit free run timer. The initial values of the compare registers (OCCP0~5) are undetermined, so that
the value must be set before enabling the operation. Word access instruction to this register is
recommended. When the value of this register matches that of the 16-bit free-run timer, a compare
signal is generated to set the output compare interrupt flag. If output is enabled, the output level
(RT0~5) corresponding to the compare register (OCCP0~5) is reversed.
15
14
13
12
11
10
9
8
Bit number
Compare Register (Upper)
7
6
5
4
3
2
1
0
Bit number
Compare Register (Lower)
Address: ch0 000071
H
ch1 000073
H
ch2 000075
H
ch3 000077
H
ch4 000079
H
ch5 00007B
H
Read/write
OCCP0~5
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
Initial value
OP15
OP14
OP13
OP12
OP11
OP10
OP09
OP08
Address: ch0 000070
H
ch1 000072
H
ch2 000074
H
ch3 000076
H
ch4 000078
H
ch5 00007A
H
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
Initial value
Read/write
OCCP0~5
OP07
OP06
OP05
OP04
OP03
OP02
OP01
OP00