MB95630H Series
MN702-00009-1v0-E
FUJITSU SEMICONDUCTOR LIMITED
313
CHAPTER 18 8/16-BIT PPG
18.6 Operations and Setting Procedure Example
18.6.1
8-bit PPG Independent Mode
In this mode, the 8/16-bit PPG operates as two channels (PPG timer n0 and
PPG timer n1) of the 8-bit PPG.
■
Setting 8-bit PPG Independent Mode
The 8/16-bit PPG requires the register settings shown in Figure 18.6-1 to operate in 8-bit PPG
independent mode.
Figure 18.6-1 8-bit PPG Independent Mode
■
Operation of 8-bit PPG Independent Mode
•
This mode is selected when the operation mode select bits (MD[1:0]) in the 8/16-bit PPG
timer n0 control register (PCn0) are set to "0b00".
•
When the corresponding bit (PEN) in the 8/16-bit PPG start register (PPGS) is set to "1",
the value in the 8/16-bit PPG cycle setup buffer register (PPS) is loaded to start down-count
operation. When the count value reaches "1", the value in the cycle setup register is
reloaded to repeat the counting.
•
"H" is output to the PPG output synchronizing with the count clock. When the downcounter
value matches the value in the 8/16-bit PPG timer n1/n0 duty setup buffer register (PDS).
After "H" which is the value of duty setting is output, "L" is output to the PPG output.
If, however, the PPG output level reverse bit is set to "1", the PPG output is set and reset
inversely from the above process.
Figure 18.6-2 shows the operation of the 8-bit PPG independent mode.
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
0
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"
*
: The bit status depends on the number of channels provided.
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
Содержание MB95630H Series
Страница 2: ......
Страница 4: ......
Страница 8: ...iv ...
Страница 20: ...xvi ...
Страница 106: ...MB95630H Series 86 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E CHAPTER 6 I O PORT 6 2 Configuration and Operations ...
Страница 282: ...MB95630H Series 262 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E CHAPTER 14 LIN UART 14 8 Notes on Using LIN UART ...
Страница 642: ...MB95630H Series 622 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E APPENDIX A Instruction Overview A 5 Instruction Map ...
Страница 644: ......