SECTION 6 BUS INITIATED FUNCTIONS 6.1 SELECTION If the Select Enable bit in the Control Register is on, the chip may be selected by another SCSI device to be a TARGET for an 1/0 operation. Selection occurs in the chip only if all the following conditions exist: SELOUT = 0, BSYIN = 0, SELIN = 1,110 = 0, the chip's ID bit is asserted by the selecting device on the data bus, no more than one other 10 bit (the Initiator's) is asserted on the data bus and data bus parity is good. When all of these conditions exist, the chip is selected. It then encodes the Initiator's 10 and loads it into bits 2-0 of the Source 10 Register.
The chip also detects whether or not the Initiator asserted its 10 during selection, and either sets or resets the 10 Valid bit in the Source 10 Register. The chip then asserts BSYOUT, waits for SELIN to turn off, and proceeds to take one of the following actions as a result of being selected: 1. If ATN is not asserted by the Initiator during selection, the chip generates a Selected interrupt indicating that the chip is connected as a Target. 2. If ATN is asserted, the chip simultaneously generates Selected, and Bus Service interrupts, indicating that the chip is connected as a Target and ATN is asserted.
6.2 RESELECTION If the Reselect Enable bit in the Control Register is on, the chip may be reselected by a SCSI Target device. Reselection occurs only if SELOUT = 0, SELIN = 1, BSYIN = 0,110 = 1, the chip's 10 bit and the Target's 10 bit are asserted on the data bus, no other 10 bits are asserted, and data bus parity is good. When all of these conditions exist, the chip is reselected. It then encodes the Target's 10 and loads it into the Source 10 Register. The chip also sets the 10 Valid bit in the Source ID Register. The chip then asserts BSYOUT and waits for SELIN to be released by the Target. When the chip detects SELIN = 0, it de-asserts BSYOUT and then generates a Reselected interrupt.
Reselection is now complete and the chip is in the connected Initiator state. 29