MB95630H Series
MN702-00009-2v0-E
FUJITSU SEMICONDUCTOR LIMITED
315
CHAPTER 18 8/16-BIT PPG
18.6 Operations and Setting Procedure Example
18.6.2
8-bit Pre 8-bit PPG Mode
In this mode, the rising and falling edge detection pulses from the PPG timer
n1 output can be used as the count clock of the PPG timer n0 downcounter to
allow variable-cycle 8-bit PPG output from PPG timer n0.
■
Setting 8-bit Pre 8-bit PPG Mode
The 8/16-bit PPG requires the register settings shown in Figure 18.6-3 to operate in 8-bit
pre 8-bit PPG mode.
Figure 18.6-3 Setting 8-bit Pre 8-bit PPG Mode
■
Operation of 8-bit Pre 8-bit PPG Mode
•
This mode is selected by setting the operation mode select bits (MD[1:0]) in the 8/16-bit
PPG timer n0 control register (PCn0) to "0b01". This allows PPG timer n1 to be used as an
8-bit prescaler and PPG timer n0 to be used as an 8-bit PPG.
•
When the PPG timer n1 (ch. n) downcounter operation enable bit (PEN01) is set to "1", the
8-bit prescaler (PPG timer n1) loads the value in the 8/16-bit PPG timer n1 cycle setup
buffer register (PPSn1) and starts down-count operation. When the value of the
downcounter matches the value in the 8/16-bit PPG timer n1 duty setup buffer register
(PDSn1), the PPGn1 output is set to "H" synchronizing with the count clock. After "H"
which is the value of duty setting is output, the PPGn1 output is set to "L". If the output
level reverse signal (REV01) is "0", the polarity remains the same. If it is "1", the polarity is
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
PCn1
-
-
PIE1
PUF1 POEN1 CKS12 CKS11 CKS10
PCn0
MD1
MD0
PIE0
PUF0 POEN0 CKS02 CKS01 CKS00
0
1
×
×
×
PPSn1
PH7
PH6
PH5
PH4
PH3
PH2
PH1
PH0
PPSn0
PL7
PL6
PL5
PL4
PL3
PL2
PL1
PL0
PDSn1
DH7
DH6
DH5
DH4
DH3
DH2
DH1
DH0
PDSn0
DL7
DL6
DL5
DL4
DL3
DL2
DL1
DL0
PPGS
-
-
PEN21 PEN20 PEN11 PEN10 PEN01 PEN00
*
*
*
*
*
*
REVC
-
-
REV21 REV20 REV11 REV10 REV01 REV00
*
*
*
*
*
*
: Used bit
0 : Set to "0"
1 : Set to "1"
× : Setting nullified
*
: The bit status varies depending of the number of channels implemented
Set PPG output cycle for PPG timer n1
Set PPG output cycle for PPG timer n0
Set PPG output duty for PPG timer n1
Set PPG output duty for PPG timer n0
Summary of Contents for 8FX
Page 2: ......
Page 4: ......
Page 8: ...iv ...
Page 18: ...xiv ...
Page 22: ...xviii ...
Page 650: ......