MB90480/485 Series
(2) Output Compare
The output compare module is composed of a 16-bit compare register, compare output pin unit, and control
register. When the value in the compare register in this module matches the 16-bit free run timer, the pin output
levels can be inverted and an interrupt generated.
• There are six compare registers in all, each operating independently. A setting is available to allow two compare
registers to be used to control output.
• Interrupts can be set in terms of compare match events.
• Register List
Output compare registers (OCCP0 to OCCP5)
Initial value
15
14
13
12
11
10
9
8
00004BH
00004DH
00004FH
000051H
000053H
000055H
00000000B
C15
R/W
C14
R/W
C13
R/W
C12
R/W
C11
R/W
C10
R/W
C09
R/W
C08
R/W
Initial value
00000000B
7
6
5
4
3
2
1
0
00004AH
00004CH
00004EH
000050H
000052H
000054H
C07
R/W
C06
R/W
C05
R/W
C04
R/W
C03
R/W
C02
R/W
C01
R/W
C00
R/W
Output control registers (OCS1/OCS3/OCS5)
Initial value
---00000B
15
⎯
⎯
14
⎯
⎯
13
⎯
⎯
12
11
10
9
8
000057H
000059H
00005BH
CMOD OTE1
OTE0
R/W
OTD1
R/W
OTD0
R/W
R/W
R/W
Output control registers (OCS0/OCS2/OCS4)
Initial values
0000--00B
7
6
5
4
3
2
1
0
000056H
000058H
00005AH
ICPIC
R/W
ICP0
R/W
ICE1
R/W
ICE0
R/W
⎯
⎯
⎯
⎯
CST1
R/W
CST0
R/W
54