English
Language : 

Z80182 Datasheet, PDF (77/109 Pages) Zilog, Inc. – ZILOG INTELLIGENT PERIPHERAL CONTROLLER (ZIP™)
Zilog
PRELIMINARY
Z80182/Z8L182
ZILOG INTELLIGENT PERIPHERAL
The data direction register determines which are inputs
and outputs in the PC Data Register. When a bit is set to 1
the corresponding bit in the PC Data Register is an input.
If the bit is 0, then the corresponding bit is an output.
When the Z180 MPU writes to the PC Data Register, the
data is stored in the internal buffer. The values of Port C
data register are undefined after reset. Any bits that are
output are then sent on to the output buffers.
D7 D6 D5 D4 D3 D2 D1 D0
XXXXXXX X
PC Data Register
/INT2, /INT1 Read Ext Data
Write b7=1 Clears /INT2 Edge
Write b6=1 Clears /INT1 Edge
Figure 88. PC, Port C, Data Register
(Z180 MPU Read/Write, Address xxDEH)
When the Z180 MPU reads the PC Data Register, the data
on the external pins is returned.
Bits 6 and 7 serve the special function of reading the value
of the external /INT2 and /INT1 lines. When operating
either /INT2 or /INT1 in edge detection mode, the edge
detect latch is reset by writing a 1 to bit 6 or 7 respectively.
Writing a 0 has no effect. These latches should be reset
at the end of an /INT1 or /INT2 interrupt service routine
when using edge-triggered interrupt modes.
16550 MIMIC INTERFACE DMA
The 16550 MIMIC is also able to do direct DMA with the
PC/XT/AT. DMA is enabled by setting bits 3, 4 and 5 of the
Master Control Register. DMA is accomplished by using
the two DMA pins and the Transmitter Holding and Receive
Data Registers.
If bit 5 is 1, the /HTxRDY pin is equal to the complement of
the Transmit Holding Register Empty bit. If bit 5 is 1 and bit
3 is 0 the external /DREQ1 pin of the Z180 MPU is disabled
and the internal /DREQ1 is equal to the complement of the
Transmit Holding Register Empty Shadow bit. If bit 5 is 1
and bit 3 is 1 the external /DREQ0 pin of the Z180 MPU is
disabled and the internal /DREQ0 is equal to the
complement of the Transmit Holding Register Empty
Shadow bit.
If bit 4 is 1, then the /HRxRDY pin is equal to the complement
of the Data Ready bit. If bit 4 is 1 and bit 3 is 0 the external
/DREQ0 pin of the Z180 MPU is disabled and the internal
/DREQ0 is equal to the complement of the Data Ready
Shadow bit. If bit 4 is 1 and bit 3 is 1 the external /DREQ1
pin of the Z180 MPU is disabled and the internal /DREQ1
is equal to the complement or the Data Ready Shadow bit.
DS971820600
3-77