03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

INTERRUPT CONTROL UNIT<br />

8.5.1.4 Using the Interrupt Request Latch Registers to Debug Interrupt Handlers<br />

Software can set as well as clear the individual Interrupt Request Latch bits. Setting an Interrupt<br />

Request Latch bit posts an interrupt request just as if the on-chip peripheral had requested an<br />

interrupt. This feature allows the debugging of interrupt handlers independent of peripheral<br />

function. A serial port interrupt handler, for example, could be debugged by initiating simulated<br />

interrupts rather than connecting the necessary hardware to the serial port. Setting the Interrupt<br />

Request Latch bit for DMA channel 0, DMA channel 1 or Serial channel 1 activates the corresponding<br />

interrupt output, but the interrupt outputs must still be tied back to a processor interrupt<br />

input.<br />

Register Name:<br />

Register Mnemonic:<br />

Register Function:<br />

DMA Interrupt Request Latch<br />

DMAIRL<br />

Latches DMA interrupt requests.<br />

15 0<br />

M<br />

S<br />

K<br />

3<br />

M<br />

S<br />

K<br />

2<br />

M<br />

S<br />

K<br />

1<br />

M<br />

S<br />

K<br />

0<br />

D<br />

M<br />

I<br />

R<br />

3<br />

D<br />

M<br />

I<br />

R<br />

2<br />

D<br />

M<br />

I<br />

R<br />

1<br />

D<br />

M<br />

I<br />

R<br />

0<br />

A1233-0A<br />

Bit<br />

Mnemonic<br />

Bit Name<br />

Reset<br />

State<br />

Function<br />

DMIR3:0<br />

DMA<br />

Interrupt<br />

Request<br />

0H<br />

The corresponding DMA channel sets a bit in<br />

this register to post an interrupt request. These<br />

bits must be cleared to deassert the IR signal to<br />

the 8259A module or to the Port 3 Multiplexer.<br />

MSK3:0<br />

IR Latch<br />

Clear Mask<br />

XH<br />

This bit must be set to modify the state of the<br />

associated DMIR3:0 bit. The MSK3:0 bits are<br />

safeguards against accidentally clearing a<br />

pending interrupt request. These bits are write<br />

only.<br />

NOTE:<br />

Reserved register bits are shown with gray shading. Reserved bits must be written<br />

to a logic zero to ensure compatibility with future Intel products.<br />

Figure 8-24. DMA Interrupt Request Latch Register<br />

8-40

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!