471
Chapter 30 I/O Ports
3.Port Register Settings
■ P13: The functions of Port 13 are controlled by PFR13 and EPFR13
P13[7:0] is input/output for DMA control signals DEOP, DEOTX, DACKX, DREQ for DMA channels 0 and 1.
Otherwise, the port can be used as general purpose port.
PFR13.7 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DEOP1 output
PFR13.6 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
EPFR13.6 0 - DMA function is DEOTX1 input
1 - DMA function is DEOP1 output
PFR13.5 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DACKX1 output
PFR13.4 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DREQ1 input
PFR13.3 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DEOP0 output
PFR13.2 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
EPFR13.2 0 - DMA function is DEOTX0 input
1 - DMA function is DEOP0 output
PFR13.1 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DACKX0 output
PFR13.0 0 - Port is in general purpose port mode.
1 - Port is in DMA function mode:
DMA function is DREQ0 input
Addr 7 6 5 4 3 2 1 0 initial
PFR13 0D8Dh PFR13.7 PFR13.6 PFR13.5 PFR13.4 PFR13.3 PFR13.2 PFR13.1 PFR13.0 0000 0000
EPFR13 0DCDh - EPFR13.6 - - - EPFR13.2 - - -0-- -0--
R/W R/W R/W R/W R/W R/W R/W R/W