Overview Of The Ppg Timer - Fujitsu FR60 Hardware Manual

Hide thumbs Also See for FR60:
Table of Contents

Advertisement

CHAPTER 8 PROGRAMMABLE PULSE GENERATOR (PPG) TIMER
8.1

Overview of the PPG Timer

The programmable pulse generator (PPG) efficiently outputs highly accurate PWM
waveforms.
The MB91F355A/355A/354A/F356B/F357B have six built-in PPG timer channels.
The MB91F353A/351A/352A/353A have three built-in PPG timer channels.
■ Characteristics of PPG Timer
Each channel consists of a 16-bit down counter, 16-bit data register with a cycle setting buffer, 16-bit
compare register with a duty setting buffer, and pin control block.
One of the four count clocks can be selected for the 16-bit down counter:
Peripheral system clock
∞ φ
φ/4
φ/16
φ/64
A reset or counter borrow can initialize the counter value to "FFFF
Each channel has PPG output (PPG0 to PPG5).
Note: The MB91F353A/351A/352A/353A have three channels for PPG output (PPG0, PPG2, and
Overview of registers
Cycle setting register: Data register for reload with buffer
Data is transferred from the buffer when an activation trigger signal is detected and a counter
borrow occurs.
The PPG output is inverted when a counter borrow occurs.
Duty setting register: Compare register with buffer
PPG output is inverted when the value of this register and the counter value match.
Outline of pin control
Set to "1" when the duty matches (priority)
Reset to "0" when a counter borrow occurs.
Output-value fixed mode is available to facilitate output of all-"L" (or "H").
The polarity can be specified.
An interrupt request can be generated as one of the following combinations:
Activation of PPG timer (software trigger or trigger input)
Generation of counter borrow (cycle match)
Generation of duty match
Generation of counter borrow (cycle match) or duty match
Multiple channels can be activated at one time by using software or other interval timers.
Restart during operation can also be set.
298
PPG4); it does not have PPG1, PPG3, and PPG5.
".
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91350a series

Table of Contents