Fujitsu 8FX Hardware Manual page 364

8-bit microcontroller new 8fx family
Table of Contents

Advertisement

CHAPTER 19 16-BIT PPG TIMER
19.6 Operations and Setting Procedure Example
■ One-shot Mode (MDSE Bit in PCNTHn Register = 1)
One-shot operation mode can be used to output a single pulse with a specified width when a
valid trigger input occurs. When retriggering is enabled and a valid trigger is detected during
the counter operation, the downcounter value is reloaded.
The initial state of the PPGn output is "L". When the 16-bit downcounter value matches the
value set in the duty setting registers, the output changes to "H". The output changes back to
"L" when the counter reaches "1". (The output levels will be reversed if OSEL is set to "1".)
● Invalidating the retrigger (RTRG bit in PCNTHn register = 0)
Figure 19.6-3 When Retrigger Is Invalid in One-shot Mode
Counter value
m
n
0
Software trigger
PPG
(Normal polarity)
PPG
(Inverted polarity)
● Validating the retrigger (RTRG bit in PCNTHn register = 1)
Figure 19.6-4 When Retrigger Is Valid in One-shot Mode
Counter value
m
n
0
Software trigger
PPG
(Normal polarity)
PPG
(Inverted polarity)
342
Rising edge detected
(1)
(2)
(1)=n
T ns
(2)=m
T ns
Rising edge detected
(2)
(1)=n
(2)=m
FUJITSU SEMICONDUCTOR LIMITED
MB95630H Series
Trigger ignored
T : Count clock cycle
m: Value of PCSRH & PCSRL registers
n : Value of PDUTH & PDUTL registers
Trigger restarted
(1)
T : Count clock cycle
T ns
m: Value of PCSRH & PCSRL registers
T ns
n : Value of PDUTH & PDUTL registers
Time
Time
MN702-00009-2v0-E

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95630h series

Table of Contents