English
Language : 

Z8S18020FSC Datasheet, PDF (59/70 Pages) Zilog, Inc. – ENHANCED Z180 MICROPROCESSOR
Zilog
Z80180/Z8S180/Z8L180
Enhanced Z180 Microprocessor
With one-wait-state I/O cycles (the fastest possible except modifier for channel 1 memory to/from I/O transfer modes.
for the ASCIs), it is unlikely that an output device will be DIM1 and DIM0 are cleared to 0 during RESET.
able to update its Request in time, and edge sense is re-
quired.
Table 13. Channel 1 Transfer Mode
1
DIM1, DIM0: DMA Channel 1 I/O and Memory Mode
(bits 1-0). Specifies the source/destination and address
DIM1 DMI0 Transfer Mode
0
0 Memory→I/O
0
1 Memory→I/O
1
0 I/O→Memory
1
1 I/O→Memory
Address
Increment/Decrement
MAR1 +1, IAR1 fixed
MAR1–1, IAR1 fixed
IAR1 fixed, MAR1 + 1
IAR1 fixed, MAR1 –1
INTERRUPT VECTOR LOW REGISTER
Mnemonic: IL
Address 33
Bits 7-5 of IL are used as bits 7-5 of the synthesized inter-
rupt vector during interrupts for the INT1 and INT2 pins
and for the DMAs, ASCIs, PRTs, and CSI/O. These three
bits are cleared to 0 during Reset (Figure 75).
Bit 7
6
54
3
IL 7 IL 6 IL 5 –– ––
R/W R/W R/W
2
1
0
–– –– ––
Programmable
Interrupt Source Dependent Code
Figure 75. Interrupt Vector Low Register (IL: I/O Address = 33H)
INT/TRAP CONTROL REGISTER
Mnemonics ITC
Address 34
INT/TRAP Control Register (ITC, I/O Address 34H).
This register is used in handling TRAP interrupts and to
enable or disable Maskable Interrupt Level 0 and the INT1
and INT2 pins.
Bit 7 6 5 4 3 2 1 0
TRAP UFO –– –– –– ITE2 ITE1 ITE0
R/W R
R/W R/W R/W
TRAP (bit 7). This bit is set to 1 when an undefined Op-
code is fetched. TRAP can be reset under program control
by writing it with a 0, however, it cannot be written with 1
under program control. TRAP is reset to 0 during RESET.
UFO: Undefined Fetch Object (bit 6). When a TRAP in-
terrupt occurs, the contents of UFO allow determination of
the starting address of the undefined instruction. This is
necessary since the TRAP may occur on either the second
or third byte of the Opcode. UFO allows the stacked PC
value to be correctly adjusted. If UFO = 0, the first Opcode
should be interpreted as the stacked PC-1. If UFO = 1, the
first Opcode address is stacked PC-2. UFO is Read-Only.
ITE2, 1, 0: Interrupt Enable 2, 1, 0 (bits 2-0). ITE2 and
ITE1 enable and disable the external interrupt inputs /INT2
and /INT1, respectively. ITE0 enables and disables inter-
rupts from the on-chip ESCC, CTCs and Bidirectional Cen-
tronics controller as well as the external interrupt input
/INT0. A 1 in a bit enables the corresponding interrupt level
while a 0 disables it. A Reset sets ITE0 to 1 and clears
ITE1 and ITE2 to 0.
TRAP Interrupt. The Z80180/Z8S180/Z8L180 generates
a non-maskable (not affected by the state of IEF1) TRAP
interrupt when an undefined Opcode fetch occurs. This
feature can be used to increase software reliability, imple-
ment an “extended” instruction set, or both. TRAP may oc-
cur during Opcode fetch cycles and also if an undefined
DS971800401
PRELIMINARY
1-59