FUJITSU MB91460 SERIES FR60 User Manual

Page 505

Advertising
background image

489

Chapter 30 I/O Ports

3.Port Register Settings

P27: The functions of Port 27 are controlled by PFR27 and EPFR27

P27[7:0] is input/output for Stepper Motor PWM output signals and Comparator Inputs SMC2M, SMC2P,
SMC1M, SMC1P
of channels 0 and 1, and A/D converter analogue inputs AN[23:16]. Otherwise, the port can be
used as general purpose port.

PFR27.7

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

EPFR27.7 0 - Resource function is SMC2M1 output, CMP1 and/or AN23 input if selected

1 - Resource function is AN23 input

PFR27.6

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

EPFR27.6 0 - Resource function is SMC2P1 output, CMP1 and/or AN22 input if selected

1 - Resource function is AN22 input

PFR27.5

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

EPFR27.5 0 - Resource function is SMC1M1 output, CMP1 and/or AN21 input if selected

1 - Resource function is AN21 input

PFR27.4

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

EPFR27.4 0 - Resource function is SMC1P1 output, CMP1 and/or AN20 input if selected

1 - Resource function is AN20 input

PFR27.3

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

EPFR27.3 0 - Resource function is SMC2M0 output, CMP0 and/or AN19 input if selected

1 - Resource function is AN19 input

PFR27.2

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

EPFR27.2 0 - Resource function is SMC2P0 output, CMP0 and/or AN18 input if selected

1 - Resource function is AN18 input

PFR27.1

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

EPFR27.1 0 - Resource function is SMC1M0 output, CMP0 and/or AN17 input if selected

1 - Resource function is AN17 input

PFR27.0

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

EPFR27.0 0 - Resource function is SMC1P0 output, CMP0 and/or AN16 input if selected

1 - Resource function is AN16 input

Addr

7

6

5

4

3

2

1

0

initial

PFR27

0D9Bh

PFR27.7

PFR27.6

PFR27.5

PFR27.4

PFR27.3

PFR27.2

PFR27.1

PFR27.0

0000 0000

EPFR27

0DDBh

EPFR27.7

EPFR27.6

EPFR27.5

EPFR27.4

EPFR27.3

EPFR27.2

EPFR27.1

EPFR27.0

0000 0000

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Advertising