MB95630H Series
334
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-2v0-E
CHAPTER 19 16-BIT PPG TIMER
19.1 Overview
19.1
Overview
The 16-bit PPG timer can generate a PWM (Pulse Width Modulation) output or
one-shot (square wave) output, and the period and duty of the output waveform
can be changed by software freely. The timer can also generate an interrupt
when a start trigger occurs or on the rising or falling edge of the output
waveform.
■
16-bit PPG Timer
The 16-bit PPG timer can output the PWM output and the one shot. The output wave form can
be reversed by setting the register (Normal polarity
↔
Inverted polarity).
•
The count operation clock can be selected from 12 different clock sources (MCLK,
MCLK/2, MCLK/4, MCLK/8, MCLK/16, MCLK/32, F
CH
/2
7
, F
CH
/2
8
, F
CRH
/2
6
, F
CRH
/2
7
,
F
MCRPLL
/2
6
or F
MCRPLL
/2
7
). (MCLK: machine clock, F
CH
: main clock, F
CRH
: main CR
clock, F
MCRPLL
: main CR PLL clock)
•
Interrupt can be selectively triggered by the following four conditions:
- Occurrence of a start trigger in the PPG timer
- Occurrence of a counter borrow in the 16-bit downcounter (cycle match).
- Rising edge of PPG in normal polarity or falling edge of PPG in inverted polarity
- Counter borrow, rising edge of PPG in normal polarity, or falling edge of PPG in
inverted polarity
L
L
L
H
H
L
H
H
L
L
H
L
H
H
H
L
Output waveform
PWM waveform
Normal polarity
Inverted polarity
One-shot waveform
Normal polarity
Inverted polarity
Summary of Contents for 8FX
Page 2: ......
Page 4: ......
Page 8: ...iv ...
Page 18: ...xiv ...
Page 22: ...xviii ...
Page 650: ......