beautypg.com

2 16-bit ppg output operation mode, Bit ppg output operation mode – FUJITSU F2MCTM-16LX User Manual

Page 320

background image

304

CHAPTER 16 8-/16-BIT PPG TIMER

16.5.2

16-bit PPG Output Operation Mode

In the 16-bit PPG output operation mode, the 8-/16-bit PPG timer is set as a 16-bit PPG
timer with one channel.

Setting for 16-bit PPG Output Operation Mode

Operating the 8-/16-bit PPG timer in the 16-bit PPG output operation mode requires the setting shown in

Figure 16.5-4 .

Figure 16.5-4 Setting for 16-bit PPG Output Operation Mode

Note:

Use a long-word instruction to set the values in the PPG reload registers or a word instruction to set the
PPGn and PPGm (PRLLn --> PRLLm or PRLHn --> PRLHm) in this order.

PIE1 PUF1

MD0

MD1

PEN1

PE1

PPGCm/PPGCn

1

1

1

1

1

PIE0 PUF0

PEN0

PE0

PPGnm

PCM2 PCM1

REV

PCM0

PCS2 PCS1 PCS0

bit15 14

13

12

11

10

9

bit8 bit7

6

5

4

3

2

1

bit0

PRLHn/PRLLn

PRLHm/PRLLm

1

Re-
served

(Reserved area)

Re-
served

PPGn set high level side reload values of lower
8 bits.

PPGn set low level side reload values of lower
8 bits.

PPGm set high level side reload values of upper
8 bits.

PPGm set low level side reload values of upper
8 bits.

: Used bit

: Unused bit

-

: Undefined bit

1 : Set 1
0 : Set 0

Note: n = C, E

m = n + 1