494
Chapter 30 I/O Ports
3.Port Register Settings
■ P32: The functions of Port 32 are controlled by PFR32 and EPFR32
P32[7:0] is input/output for LCD controller segment driver outputs SEG[31:24], and LIN-UART serial
communication signals SCK, SOT, SIN of channels 14 and 15. Otherwise, the port can be used as general
purpose port.
PFR32.7 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is SEG31 output
PFR32.6 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR32.6 0 - Resource function is SEG30 output
1 - Resource function is SCK15 input/output
PFR32.5 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR32.5 0 - Resource function is SEG29 output
1 - Resource function is SOT15 output
PFR32.4 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR32.4 0 - Resource function is SEG28 output
1 - Resource function is SIN15 input
PFR32.3 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is SEG27 output
PFR32.2 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR32.2 0 - Resource function is SEG26 output
1 - Resource function is SCK14 input/output
PFR32.1 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR32.1 0 - Resource function is SEG25 output
1 - Resource function is SOT14 output
PFR32.0 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR32.0 0 - Resource function is SEG24output
1 - Resource function is SIN14 input
Addr 7 6 5 4 3 2 1 0 initial
PFR32 0DA0h PFR32.7 PFR32.6 PFR32.5 PFR32.4 PFR32.3 PFR32.2 PFR32.1 PFR32.0 0000 0000
EPFR32 0DE0h - EPFR32.6 EPFR32.5 EPFR32.4 - EPFR32.2 EPFR32.1 EPFR32.0 -000 -000
R/W R/W R/W R/W R/W R/W R/W R/W