8-Bit Ppg Output 2-Channel Independent Operation Mode - Fujitsu MB90895 Series Hardware Manual

16 bit, controller manual
Table of Contents

Advertisement

10.5.1

8-bit PPG output 2-channel independent operation mode

In the 8-bit PPG output 2-channel independent operation mode, the 8-/16-bit PPG timer
is set as an 8-bit PPG timer with two independent channels.PPG output operation and
interrupt request generation can be performed independently for each channel.
I Setting for 8-bit PPG Output 2-channel Independent Operation Mode
Operating the 8-/16-bit PPG timer in the 8-bit PPG output 2-channel independent operation mode requires
the setting shown in Figure 10.5-2.
Figure 10.5-2 Setting for 8-bit PPG Output 2-channel Independent Operation Mode
PPGC1/PPGC0
PPG01
PRLH0/PRLL0
PRLH1/PRLL1
: Used bit
: Unused bit
1
: Setting "1"
0
: Setting "0"
Note:
Use the word instruction to set both High-level and Low-level PPG reload registers (PRLL0/
PRLH0 and PRLL1/PRLH1) at the same time.
G
Operation in 8-bit PPG output 2-channel independent operation mode
• The 8-bit PPG timer with two channels performs an independent PPG operation.
• When the pin output is enabled (PPGC0: PE0 = 1, PPGC1: PE1 = 1), the PPG0 pulse wave is output
from the PPG0 pin and the PPG1 pulse wave is output from the PPG1 pin.
• When a reload value is set in the PPG reload register (PRLL0/PRLH0, PRLL1/PRLH1) and PPG timer
operation is enabled (PPGC0:PEN0=1, PPGC1:PEN1=1), the PPG down counter starts count operation
in the channel that enables operation.
• To stop the count operation of the PPG down counter, disable the operation of the PPG timer of the
channel to be stopped (PPGC0: PEN0 = 0, PPGC1: PEN1 = 0).The count operation of the PPG down
counter is stopped and the output of the PPG output pin is held at a Low level.
• When the PPG down counter of each channel underflows, the reload values set in the PPG reload
registers (PRLL0/PRLH0 and PRLL1/PRLH1) are reloaded to the PPG down counter that underflows.
bit15 14
13
12
11
PIE1 PUF1
PEN1
PE1
1
(Reserved area)
Settting reload value of PPG0 "H" level side
Settting reload value of PPG1 "H" level side
10
9
bit8 bit7
6
Re-
MD1
MD0
PEN0
served
0
0
1
1
PCS2 PCS1 PCS0
Settting reload value of PPG0 "L" level side
Settting reload value of PPG1 "L" level side
CHAPTER 10 8/16-bit PPG timer
5
4
3
2
1
PE0
PIE0 PUF0
served
PCM2 PCM1 PCM0
bit0
Re-
1
311

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents