5 int – Avago Technologies LSI53C1010 User Manual
Page 57
Instruction Descriptions
3-17
Notes
This instruction has no effect on the initiator when issued by a target. To
disconnect from the SCSI bus, use the SET TARGET instruction before
this instruction.
Legal Forms:
DISCONNECT
3.2.5 INT
INT int_value [, {IF | WHEN}[NOT][ATN | Phase][AND | OR]
[data[AND MASK data]]]
INT int_value [, {IF | WHEN}[NOT] CARRY]
Supported by
All LSI Logic SCSI SCRIPTS Processors.
Definition
SCSI Transfer Control - Generate Interrupt and halt SCRIPTS operation.
Operands
This command has the following operands:
Int_value
A user defined 32-bit value available in the DMA SCRIPTS
Pointer Save (DSPS) register at the time of the interrupt.
WHEN
Forces the SCRIPTS engine to wait for a valid SCSI bus phase
before continuing. A valid phase is indicated by assertion of the
SREQ/ signal.
IF
Causes the SCRIPTS processor to immediately check for a valid
SCSI bus phase. IF should not be used when comparing for a
phase as this could yield unpredictable results. The only
exception is using a WHEN conditional just prior to the IF
conditional for any given sequence of phase checks.
NOT
Negates the comparison. Clears the True bit if present, otherwise
the True bit is set.
Phase
Specifies the Message, Command/Data, and Input/Output bit
values that identify the SCSI phase in the instruction. The
desired phase value is compared with the actual values of the
SCSI phase lines before the SCRIPTS processor performs the
instruction. This field is only valid for the initiator mode and
should not be used in the target mode.
ATN
Indicates that an interrupt should take place based on an initiator
SATN/ signal. This field is valid only for the target mode and
should not be used in the initiator mode.
data
Represents an 8-bit value that is stored in the data field of the
instruction. In addition the Compare Data bit is set.