Fujitsu FR81S User Manual
CHAPTER 25: 16-BIT OUTPUT COMPARE
5. Operation
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER
: 16-BIT OUTPUT COMPARE
FUJITSU SEMICONDUCTOR CONFIDENTIAL
21
5.1. Interrupts for 16-bit Output Compare
This section explains the interrupts for 16-bit output compare.
Table 5-1 shows the interrupt control bits and interrupt factor of the 16-bit output compare.
Table 5-1 Interrupt Control Bits and Interrupt Factor of 16-bit Output Compare
16-bit output compare
Even-number channel
Odd-number channel
Interrupt request
flag bit
Compare control register
(OCS) IOP0:bit6
Compare control register
(OCS) IOP1:bit7
Interrupt request
enable bit
Compare control register
(OCS) IOE0:bit4
Compare control register
(OCS) IOE1:bit5
Interrupt factor
The 16-bit free-run timer value
matches the output compare
register 0 (OCCP0).
The 16-bit free-run timer value
matches the output compare
register 1 (OCCP1).
When the 16-bit free-run timer value matches the output compare register (OCCP), IOP1/IOP0: bit7/bit6 in the
compare control register (OCS) are set to "1". If interrupt requests are enabled (IOE1/IOE0: bit5/bit4 = 1 of
OCS) in this state, an interrupt request is output to the interrupt controller.
MB91520 Series
MN705-00010-1v0-E
976