491
Chapter 30 I/O Ports
3.Port Register Settings
■ P29: The functions of Port 29 are controlled by PFR29
P29[7:0] is input/output for A/D converter analogue inputs AN[7:0]. Otherwise, the port can be used as general
purpose port.
PFR29.7 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is AN7 input
PFR29.6 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is AN6 input
PFR29.5 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is AN5 input
PFR29.4 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is AN4 input
PFR29.3 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is AN3 input
PFR29.2 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is AN2 input
PFR29.1 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is AN1 input
PFR29.0 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is AN0 input
Addr 7 6 5 4 3 2 1 0 initial
PFR29 0D9Dh PFR29.7 PFR29.6 PFR29.5 PFR29.4 PFR29.3 PFR29.2 PFR29.1 PFR29.0 0000 0000
EPFR29 0DDDh - - - - - - - - ---- ----
R/W R/W R/W R/W R/W R/W R/W R/W