FORCE Computers SYS68K/ISCSI-1 — SYS68K/ISCSI-1 User's Manual (EN)

INTERRUPT REQUESTS The MC68'53 accepts device interrupt requests on inputs INTO. INT" INT2, and INT3. Each input is regu- lated by Bit 4 (IRE) of the associated control register (CRO controls INTO. CR' controls INT,. etc). If IRE (In- terrupt Enable) is set and a device input is assened. an Interrupt Request open-collector output (lRQ'-IRQ7) is assened. The assened IRQX output is selected by the value programmed in Bits 0, ,. and 2 of the control register (LO. L'. and L2). This 3-bit field determines the interrupt request level as set by software. Two or more interrupt sources can be programmed to the same request level.

That IRQX output will remain assened until multiple interrupt acknowledge cycles re- spond to all requests. bit sets this response either internally (x/IN :z 0) or externally (x/IN - , I. 4. Respond externally - For the final case. IACKIN is also assened. a match is found an!=l the associated control register has X/iN bit set to one. The MCSS'53 does not assen IACKOUT and does as- sen INTAE low. INTAE signals that the requesting device must complete the lACK cycle (supplying a vector and DTACK) and that the 2-bit code con- tained on outputs INTALO and INTAL' shows which interrupt source is being acknowledged. These cases are discussed in more detail in the fol- lowing paragraphs.

If the interrupt request level is set to zero. the interrupt is disabled because there is no corresponding IRQ out- put. Internal Interrupt Acknowledge For an internal interrupt acknowledge to occur, the following conditions must be met: INTERRUPT ACKNOWLEDGE The response of an Interrupt Handler to a bus inter- rupt request is an interrupt acknowledge cycle. The lACK cycle is initiated in the MC68'53 by receiving lACK low. RNY. A'. A2. A3 are latched. and the interrupt level on line A '-A3 is compared with any interrupt requests pending in the chip. Funher activity can be one of four cases: 1.

One or more device interrupt inputs (lNTQ-INT3) has been assened and corresponding control bit IRE value is one. 2. lACK assened. 3. A match exists between [A3. A2. A' I and the [L2. L'. LOI field of an enabled. requesting control reg- ister. If two or more devices are requesting at the same interrupt level. preference is given to the highest number requester. that is.INT3 has highest priority and INTO has lowest. 1. No funher action required - This occurs if iACKiN is not assened. Assening lACK only stans the BIM activity. If the daisy chain signal never reaches the MC68'53 {lACKIN is not assened). another Inter- rupter has responded to the lACK cycle. The cycle will end.

the chip lACK is negated. and no addi- tional action is reqUIred. 4. Control register bit X/iN of matching interrupt source must be zero. 5. IACKIN assened. 2. Pass on the interrupt acknowledge daisy chain - For this case. IACKIN input is assened by the pre- ceding daisy chain Interrupter. and IACKOUT out- put is in. turn assened. The daisy chain signal is passed on when no Interrupts are pending on a matching level or when any possible interrupts are disabled. The Interrupt Enable {IRE) bit of a control register can disable any interrupt requests. and in turn. any possible matches. The internal interrupt acknowledge cycle timing is shown in Figure , O.

The 8-bit interrupt acknowledge vector is presented to the data bus and OT ACK is as- sened. Note also that INTALO and INTAL 1 are valid and INTAE is assened ouring this cycle although they would normally not be used. The cycle is terminated Idata and OTACK released) after lACK is negated. . During the lACK cycle. the INTERRUPT AUTO-CLEAR control bit (lRAC) comes into play. If the IRAC = one for the responding interrupt source. the INTERRUPT EN- ABLE (IRE) bit is automatically cleared during the lACK cycle. thus disabling the associated interrupt input and any IRQX output assened due to this interrupt input. Before another interrupt can be requested from thiS source.

IRE must be set to one by writing to the control register. Note that IACKOUT is not asserted because thiS ae- vice is responding to the It,CK and does not pass tne oaisy chain signal on. Also. new oevice interrupt re- quests OCCUrring on INTO-INT3 after lACK is asserted are locked out to prevent any race conditions on the daisy chain. 3. Respond internally - For this case. IACKIN is as- sened and a match is found. The MC68153 com- eletes rne lACK cycle by supplying an interrupt vector from the proper vector register followed by a OTACK signal assened. IACKOUT is not assened because the interrupt acknowledge cycle is com- pleted by thiS aevice.

For the MC6S'53 to resoond in this mode of op- eration. the EXTERNAL INTERNAL control register bit (X,IN) must be zero. For each source of interrupt request. the associated control register determines the 81M response to an lACK cycle. and the XlIN 1...- _____ (fJ0 MOTOROL.A Semiconductor Products Inc.