MB95630H Series
342
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-2v0-E
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
●
Validating the retrigger (RTRG bit in PCNTHn register = 1)
Figure 19.6-4 When Retrigger Is Valid in One-shot Mode
m
n
0
Trigger ignored
(1)=n
×
T ns
(2)=m
×
T ns
PPG
PPG
(1)
(2)
(Normal polarity)
(Inverted polarity)
Time
Counter value
Software trigger
Rising edge detected
n : Value of PDUTH & PDUTL registers
m: Value of PCSRH & PCSRL registers
T : Count clock cycle
m
n
0
(1)=n
×
T ns
(2)=m
×
T ns
PPG
PPG
(1)
(2)
(Normal polarity)
(Inverted polarity)
Time
Counter value
Software trigger
Trigger restarted
Rising edge detected
n : Value of PDUTH & PDUTL registers
m: Value of PCSRH & PCSRL registers
T : Count clock cycle
Summary of Contents for 8FX
Page 2: ......
Page 4: ......
Page 8: ...iv ...
Page 18: ...xiv ...
Page 22: ...xviii ...
Page 650: ......