Chapter 37 Output Compare; Overview; Features - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

Chapter 37 Output Compare

1. Overview

Output compare is a feature that compares the value set to the compare register with the count value of the
free-run timer, and reverses the level of the pins when they are equal.
Compare 0
Free-run Timer
Compare 1

2. Features

• Output wave form: Toggle output 4 channel
Trigger output 4 channel
(OCU0 Pin/OCU2 Pin)
(OCU1 Pin/OCU3 Pin)
PWM Output
(OCU1/OCU3)
• Format:
• Quantity:
• Compatible timers:Output compare channels 0/1 use free-run timer 2
• Operation on compare match:
• Reversal of pin output value (toggle output)
• Free-run timer clear
• Interrupt generation
• Count precision: 4/F
• Toggle change width (T): 1 x count precision - 10000
• Interrupt:
• Others:
0
Compare
Compare
1
T
1
T
2
2 channel
T
2
T
1
16 bit compare register + Compare circuit
4 groups = 8 channels (output compare channels 0/1, 2/3, 4/5, 6/7)
Output compare channels 2/3 use free-run timer 3
Output compare channels 4/5 use free-run timer 6
Output compare channels 6/7 use free-run timer 7
, 16/F
, 32/ F
CLKP
CLKP
Compare-match interrupt
Setting of initial output level value is possible ("H"/"L")
Pins not used for OCU output can be used as general-use ports
Match
Latch
Clear
Latch
Match
T
or T(max.)
1
, 64/ F
(dependent on free-run timer)
CLKP
CLKP
x count precision
H
Chapter 37 Output Compare
Pin 0
0
Toggle
Output
Pin 1
1
1.Overview
759

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents