Operation Of 16-Bit Output Compare - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 14 MULTI-FUNCTIONAL TIMER
14.6.2

Operation of 16-bit Output Compare

The output compare unit is used to compare the value set in the specified compare
register with the value of the 16-bit free-run timer. If a match is detected, the interrupt
flag is set and the output level is inverted.
■ 16-bit Output Compare Operation
Compare operation can be performed for individual channel (OCS1/OCS3/OCS5:CMOD = 0)
Figure 14.6-11 Sample Output Waveform when Compare Registers 0 and 1 are used individually when the
Counter value
FFFF
H
BFFF
H
7FFF
H
3FFF
H
0000
H
Reset
Compare register 0
value
Compare register 1
value
RT0
RT1
Compare 0
interrupt
Compare 1
interrupt
332
Initial Output Value is "0" (Free-run Timer in Up-count Mode)
BFFF
H
7FFF
H
Time

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents