You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""The SCSI Test Unit Ready command is used to determine if a device is ready to transfer data (read/write), i.e. if a disk has spun up, if a tape is loaded and ready etc. The device does not perform a self-test operation."""
37
-
_SCSI_CMD_INQUIRY=const(0x12)
38
+
_SCSI_CMD_TEST_UNIT_READY=const(0x00)
39
+
"""The SCSI Test Unit Ready command is used to determine if a device is ready to transfer data
40
+
(read/write), i.e. if a disk has spun up, if a tape is loaded and ready etc. The device does not
41
+
perform a self-test operation."""
42
+
_SCSI_CMD_INQUIRY=const(0x12)
38
43
"""The SCSI Inquiry command is used to obtain basic information from a target device."""
39
-
_SCSI_CMD_READ_CAPACITY_10=const(0x25)
40
-
"""The SCSI Read Capacity command is used to obtain data capacity information from a target device."""
41
-
_SCSI_CMD_REQUEST_SENSE=const(0x03)
42
-
"""The SCSI Request Sense command is part of the SCSI computer protocol standard. This command is used to obtain sense data -- status/error information -- from a target device."""
43
-
_SCSI_CMD_READ_10=const(0x28)
44
-
"""The READ (10) command requests that the device server read the specified logical block(s) and transfer them to the data-in buffer."""
45
-
_SCSI_CMD_WRITE_10=const(0x2A)
46
-
"""The WRITE (10) command requests that the device server transfer the specified logical block(s) from the data-out buffer and write them."""
44
+
_SCSI_CMD_READ_CAPACITY_10=const(0x25)
45
+
"""The SCSI Read Capacity command is used to obtain data capacity information from a target
46
+
device."""
47
+
_SCSI_CMD_REQUEST_SENSE=const(0x03)
48
+
"""The SCSI Request Sense command is part of the SCSI computer protocol standard. This command is
49
+
used to obtain sense data -- status/error information -- from a target device."""
50
+
_SCSI_CMD_READ_10=const(0x28)
51
+
"""The READ (10) command requests that the device server read the specified logical block(s) and
52
+
transfer them to the data-in buffer."""
53
+
_SCSI_CMD_WRITE_10=const(0x2A)
54
+
"""The WRITE (10) command requests that the device server transfer the specified logical block(s)
55
+
from the data-out buffer and write them."""
56
+
47
57
48
58
classUSBMassStorage:
59
+
"""CircuitPython BlockDevice backed by a USB mass storage device (aka thumb drive)."""
0 commit comments