Important: The information in this document is obsolete and should not be used for new development.
SCSISelAtn
You can use theSCSISelAtn
function to select a SCSI device and at the same time to assert the attention (/ATN) bus signal.
FUNCTION SCSISelAtn (targetID: Integer): OSErr;
targetID
- The SCSI ID of the target device, with a value from 0 to 6.
DESCRIPTION
TheSCSISelAtn
function is identical to theSCSISelect
function except that this function asserts the /ATN signal during selection. The /ATN signal informs the target that the initiator wants to send a message. TheSCSISelAtn
function must be followed by a call to theSCSIMsgOut
function to send the message to the target device.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forSCSISelAtn
are
Trap macro Selector _SCSIDispatch $000B RESULT CODES
noErr 0 No error scCommErr 2 Communications error, operation timeout SEE ALSO
See "SCSI Bus Signals," beginning on page 3-4, and "SCSI Bus Phases," beginning on page 3-5, for more information about the attention signal and the selection phase.