493
Chapter 30 I/O Ports
3.Port Register Settings
■ P31: The functions of Port 31 are controlled by PFR31
P31[7:0] is input/output for LCD controller segment driver outputs SEG[39:32]. Otherwise, the port can be used
as general purpose port.
PFR31.7 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is SEG39 output
PFR31.6 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is SEG38 output
PFR31.5 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is SEG37 output
PFR31.4 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is SEG36 output
PFR31.3 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is SEG35 output
PFR31.2 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is SEG34 output
PFR31.1 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is SEG33 output
PFR31.0 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is SEG32 output
Addr 7 6 5 4 3 2 1 0 initial
PFR31 0D9Fh PFR31.7 PFR31.6 PFR31.5 PFR31.4 PFR31.3 PFR31.2 PFR31.1 PFR31.0 0000 0000
EPFR31 0DDFh - - - - - - - - ---- ----
R/W R/W R/W R/W R/W R/W R/W R/W