beautypg.com

3 configuration of 8-/16-bit ppg timer, Configuration of 8-/16-bit ppg timer – FUJITSU F2MCTM-16LX User Manual

Page 306

background image

290

CHAPTER 16 8-/16-BIT PPG TIMER

16.3

Configuration of 8-/16-bit PPG Timer

This section explains the pins, registers and interrupt factors of the 8-/16-bit PPG timer.

Pins of 8-/16-bit PPG Timer

The pins of the 8-/16-bit PPG timer serve as general-purpose I/O ports. Table 16.3-1 indicates the pin

functions and pin settings required to use the 8-/16-bit PPG timer.

Table 16.3-1 Pins of 8-/16-bit PPG Timer

Channel

Pin Name

Pin Function

Pin Setting Required for Use of 8-/16-bit

PPG Timer

PPGC

P66 /
AN6 /
PPGC

General-purpose I/O port,
A/D converter analog input 6/
PPG output C

Analog input enable register :
setting to disable(ADER6:ADE6=0)

PPG operating mode control register :
pin output enable (PPGCC:PE0=1)

PPGD

P22 /
PPGD

General-purpose I/O port,
PPG output D

PPG operating mode control register :
pin output enable (PPGCD:PE1=1)

PPGE

P67 /
AN7 /
PPGE

General-purpose I/O port,
A/D converter analog input 7/
PPG output E

Analog input enable register :
setting to disable (ADER6:ADE7=0)

PPG operating mode control register :
pin output enable (PPGCE:PE0=1)

PPGF

P23 /
PPGF

General-purpose I/O port,
PPG output F

PPG operating mode control register :
pin output enable (PPGCF:PE1=1)