Operation Of 16-Bit Output Compare - Fujitsu F2MC-16LX Hardware Manual

Mb90470 series 16-bit microcontroller
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

CHAPTER 12 16-BIT INPUT/OUTPUT TIMER

12.3.2 Operation of 16-bit output compare

16-bit output compare compares the specified compare register value with the 16-bit
free-running timer value, and if they match, it sets an interrupt request flag and
reverses the output level.
I Examples of output waveform
Examples of output waveform are shown below.
❍ Example of output waveform where compare registers 0 and 1 are used
Figure 12.3-3 "Example of output waveform where compare registers 0 and 1 are used (initial
value of output = "0")" shows an example of output waveform where the initial value of output is
specified as "0".
Figure 12.3-3 Example of output waveform where compare registers 0 and 1 are used
FFFF
BFFF
7FFF
3FFF
0000
Compare
register 0 value
Compare
register 1 value
Compare 0 interrupt
Compare 1 interrupt
Two pairs of compare register may be used to change the output level (if CMOD = 1).
242
(initial value of output = "0")
Counter value
H
H
H
H
H
Reset
BFFF
H
7FFF
H
OUT0
OUT1
Time

Advertisement

Table of Contents
loading

Table of Contents