beautypg.com

FUJITSU MB91460 SERIES FR60 User Manual

Page 496

background image

480

Chapter 30 I/O Ports

3.Port Register Settings

P21: The functions of Port 21 are controlled by PFR21 and EPFR21

P21[7:0] is input/output for LIN-UART serial communication signals SCK, SOT, SIN of channels 0 and 1, and
Free Run Timer FRT inputs CK of channels 0 and 1. Otherwise, the port can be used as general purpose port.

PFR21.6

0 - Port is in general purpose port mode.
1 - Port is in resource function mode:

EPFR21.6 0 - Resource function is SCK1 input/output

1 - Resource function is CK1 input

PFR21.5

0 - Port is in general purpose port mode.
1 - Port is in resource function mode:

Resource function is SOT1 output

PFR21.4

0 - Port is in general purpose port mode.
1 - Port is in resource function mode:

Resource function is SIN1 input

PFR21.2

0 - Port is in general purpose port mode.
1 - Port is in resource function mode:

EPFR21.2 0 - Resource function is SCK0 input/output

1 - Resource function is CK0 input

PFR21.1

0 - Port is in general purpose port mode.
1 - Port is in resource function mode:

Resource function is SOT0 output

PFR21.0

0 - Port is in general purpose port mode.
1 - Port is in resource function mode:

Resource function is SIN0 input

Addr

7

6

5

4

3

2

1

0

initial

PFR21

0D95h

-

PFR21.6

PFR21.5

PFR21.4

-

PFR21.2

PFR21.1

PFR21.0

-000 -000

EPFR21

0DD5h

-

EPFR21.6

-

-

-

EPFR21.2

-

-

-0-- -0--

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W