16-Bit Output Compare - Fujitsu F2MC-16LX MB90580 Series Hardware Manual

16-bit microcontrollers
Hide thumbs Also See for F2MC-16LX MB90580 Series:
Table of Contents

Advertisement

20.4 Operations

20.4.2 16-bit output compare

In 16-bit output compare operation, an interrupt request flag can be set and the output level can be
reversed when the specified compare register value matches the 16-bit free-run timer value.
Sample output waveform when compare registers 0 and 1 are used (The initial output value is 0.)
Counter value
FFFF
H
BFFF
H
7FFF
H
3FFF
H
0000
H
Reset
Compare register 0
value
Compare register 1
value
OUT0
OUT1
Compare 0
interrupt
Compare 1
interrupt
The output level can be changed using two compare registers (when CMOD=1).
Sample output waveform with two compare registers (The initial output value is '0.')
Counter value
FFFF
H
BFFF
H
7FFF
H
3FFF
H
0000
H
Reset
Compare register 0
value
Compare register 1
value
OUT0
OUT1
Compare 0
interrupt
Compare 1
interrupt
286
Chapter 20: 16-Bit I/O Timer
BFFF
H
7FFF
H
BFFF
H
7FFF
H
Time
Time
Corresponds to
compare 0 and 1
MB90580 Series

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx mb90v580F2mc-16lx mb90583F2mc-16lx mb90f583

Table of Contents