470
Chapter 30 I/O Ports
3.Port Register Settings
■ P12: The functions of Port 12 are controlled by PFR12 and EPFR12
P12[7:0] is input/output for DMA control signals DEOP, DEOTX, DACKX, DREQ for DMA channels 2 and 3.
Otherwise, the port can be used as general purpose port.
PFR12.7 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DEOP3 output
PFR12.6 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
EPFR12.6 0 - DMA function is DEOTX3 input
1 - DMA function is DEOP3 output
PFR12.5 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DACKX3 output
PFR12.4 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DREQ3 input
PFR12.3 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DEOP2 output
PFR12.2 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
EPFR12.2 0 - DMA function is DEOTX2 input
1 - DMA function is DEOP2 output
PFR12.1 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DACKX2 output
PFR12.0 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DREQ2 input
Addr 7 6 5 4 3 2 1 0 initial
PFR12 0D8Ch PFR12.7 PFR12.6 PFR12.5 PFR12.4 PFR12.3 PFR12.2 PFR12.1 PFR12.0 0000 0000
EPFR12 0DCCh - EPFR12.6 - - - EPFR12.2 - - -0-- -0--
R/W R/W R/W R/W R/W R/W R/W R/W