492
Chapter 30 I/O Ports
3.Port Register Settings
■ P30: The functions of Port 30 are controlled by PFR30
P30[7:0] is input/output for LCD controller reference voltage analogue inputs V[3:0], and LCD controller common
driver outputs COM[3:0]. Otherwise, the port can be used as general purpose port.
PFR30.7 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is V3 input
PFR30.6 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is V2 input
PFR30.5 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is V1 input
PFR30.4 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is V0 input
PFR30.3 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is COM3 output
PFR30.2 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is COM2 output
PFR30.1 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is COM1 output
PFR30.0 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
Resource function is COM0 output
Addr 7 6 5 4 3 2 1 0 initial
PFR30 0D9Eh PFR30.7 PFR30.6 PFR30.5 PFR30.4 PFR30.3 PFR30.2 PFR30.1 PFR30.0 0000 0000
EPFR30 0DDEh - - - - - - - - ---- ----
R/W R/W R/W R/W R/W R/W R/W R/W