Fujitsu FR81S User Manual
CHAPTER 25: 16-BIT OUTPUT COMPARE
5. Operation
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER
: 16-BIT OUTPUT COMPARE
FUJITSU SEMICONDUCTOR CONFIDENTIAL
24
The output level can be changed using a pair of compare registers (CMOD:
bit12 = 1 in OCS01).
Figure 5-3 Example of Output Waveform When the Initial Output Value Is "0" and Compare
Registers 0 and 1 Are Used as a Pair (With the free-run timer in up count mode)
(for compare registers 0 and 1)
(for compare register 0)
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-4 Example of Output Waveform When the Initial Output Value Is "0" and Compare
Registers 0 and 1 Are Used Simultaneously (With the free-run timer in up/down count mode)
(for compare registers 0 and 1)
(for compare register 0)
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
979