Fujitsu FR81S User Manual
CHAPTER 25: 16-BIT OUTPUT COMPARE
5. Operation
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER
: 16-BIT OUTPUT COMPARE
FUJITSU SEMICONDUCTOR CONFIDENTIAL
23
5.2.1. Operation of 16-bit Output Compare (Inverted Mode,
MOD0= 0 in OCMOD01 Register)
The operation of 16-bit output compare (Inverted mode, MOD0= 0 in OCMOD01 register) is
shown.
The compare operation can be performed in each of the channels (CMOD: bit12=0 in the compare control
register (OCS01)).
Figure 5-1 Example of Output Waveform When the Initial Output Value Is "0" and Compare
Registers 0 and 1 Are Used Independently (With the free-run timer in up count mode)
FFFF
H
BFFF
H
7FFF
H
3FFF
H
0000
H
Count value
Time
Compare register 0
BFFF
H
Compare register 1
7FFF
H
Compare output 0
Compare output 1
Compare 0 interrupt
Compare 1 interrupt
⋅
For ch.2,3 and ch.4,5, the operation is the same as ch.0,1.
Figure 5-2 Example of Output Waveform When the Initial Output Value Is "0" and Compare
Registers 0 and 1 Are Used Independently (With the free-run timer in up/down count mode)
FFFF
H
BFFF
H
7FFF
H
3FFF
H
0000
H
Count value
Time
Compare register 0
BFFF
H
Compare register 1
7FFF
H
Compare output 0
Compare output 1
Compare 0 interrupt
Compare 1 interrupt
⋅
For ch.2,3 and ch.4,5, the operation is the same as ch.0,1.
MB91520 Series
MN705-00010-1v0-E
978