![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_327.png)
MB90560 series
CHAPTER 12 MULTI-FUNCTION TIMER
303
Table 12.3.2.2-2 Compare Control Register (Lower, OSC0/2/4)
Bit
Function
Bit 7
IOP1:
Compare match
interrupt flag bit
This bit is an interrupt flag for when compare register 1/3/5 is
matched with the value of 16-bit free-run timer.
'1' is written to this bit when the compare register value matches
the 16-bit free-run timer value.
While the interrupt request bits (IOE1) is enabled, an output
compare interrupt occurs when the IOP1 bit is set.
Writing “0” will clear this bit.
Writing “1” has no effect.
In Read-Modify-Write operation, “1” is always read.
Bit 6
IOP0:
Compare match
interrupt flag bit
This bit is an interrupt flag for when compare register 0/2/4 is
matched with the value of 16-bit free-run timer.
'1' is written to this bit when the compare register value matches
the 16-bit free-run timer value.
While the interrupt request bits (IOE0) is enabled, an output
compare interrupt occurs when the IOP0 bit is set.
Writing “0” will clear this bit.
Writing “1” has no effect.
In Read-Modify-Write operation, “1” is always read.
Bit 5
IOE1:
Compare match
interrupt enable
bit
This bit is used to enable output compare interrupt for compare
register 1/3/5.
While the '1' is written to this bit, an output compare interrupt
occurs when an interrupt flag (IOP1) is set.
Bit 4
IOE0:
Compare match
interrupt enable
bit
This bit is used to enable output compare interrupt for compare
register 0/2/4.
While the '1' is written to this bit, an output compare interrupt
occurs when an interrupt flag (IOP0) is set.
Bit 3
Bit 2
Unused bit
The read value is indeterminate.
Writing to this bit has no effect on the operation.
Bit 1
CST1:
Compare
operation
enable bit
This bit is used to enable the compare operation between 16-bit
free-run timer and compare register 1/3/5
Ensure that a value is written into the compare register and
timer data register before the compare operation is enabled.
Note:
Since output compare is synchronized with the 16-bit
free-run timer clock, stopping the 16-bit free-run timer
stops compare operation.
Bit 0
CST0:
Compare
operation
enable bit
This bit is used to enable the compare operation between 16-bit
free-run timer and compare register 0/2/4
Ensure that a value is written into the compare register and
timer data register before the compare operation is enabled.
Note:
Since output compare is synchronized with the 16-bit
free-run timer clock, stopping the 16-bit free-run timer
stops compare operation.