Operation Of The Output Compare Module - Fujitsu FR60 Hardware Manual

Hide thumbs Also See for FR60:
Table of Contents

Advertisement

14.4.3

Operation of the Output Compare Module

In the 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.
■ Operation of the 16-bit Output Compare Module
The compare operation can be performed for each channel independently (when CMOD = 0).
Figure 14.4-2 shows a sample of the waveform that is output when compare registers 0 and 1 are used
(initial output value is "0").
Figure 14.4-2 Sample of Output Waveform when Compare Registers 0 and 1 Used
Compare register 0 value
Compare register 1 value
Compare 0 interrupt
Compare 1 interrupt
The output level can be changed using two compare registers (when CMOD=1).
Figure 14.4-3 shows a sample of the waveform that is output when compare registers 0 and 1 are used
(initial output value is "0").
Figure 14.4-3 Sample of Output Waveform when Compare Registers 0 and 1 Used
Compare register 0 value
Compare register 1 value
Compare 0 interrupt
Compare 1 interrupt
(Initial Output Value is "0")
Counter value
FFFF
H
BFFF
H
7FFF
H
3FFF
H
0000
H
Reset
BFFF
H
7FFF
H
OC0
OC1
(Initial Output Value is "0")
Counter value
FFFF
H
BFFF
H
7FFF
H
3FFF
H
0000
H
Reset
BFFF
H
7FFF
H
OC0
OC1
Time
Time
437

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91350a series

Table of Contents