20.3.2.1 Compare register
Output Compare Register 0, 1
Address: 00005B
H
00005D
H
Read/write
Initial value
Address: 00005A
H
00005C
H
Read/write
Initial value
This 16-bit compare register is compared with the 16-bit free-run timer. Since the initial register value is
undefined, set a value before enabling the register. This register must be accessed in word mode. When
the value of this register matches that of the 16-bit free-run timer, a compare signal is generated and the
output compare interrupt flag is set. If output is enabled, the output level corresponding to the compare
register is reversed.
MB90580 Series
15
14
13
C15
C14
C13
R/W
R/W
R/W
X
X
X
7
6
C07
C06
R/W
R/W
X
X
12
11
10
C12
C11
C10
R/W
R/W
R/W
X
X
X
5
4
3
C05
C04
C03
R/W
R/W
R/W
X
X
X
20.3 Registers and Register Details
Bit Number
9
8
OCCP0 (Upper)
C09
C08
OCCP1 (Upper)
R/W
R/W
X
X
2
1
0
C02
C01
C00
R/W
R/W
R/W
X
X
X
Chapter 20: 16-Bit I/O Timer
Bit Number
OCCP0 (Lower)
OCCP1 (Lower)
279