SAMV71 Xplained Ultra Software Package 1.5

SBC Sense Keys
[Usbd_msd]

Collaboration diagram for SBC Sense Keys:

Defines

#define SBC_SENSE_KEY_NO_SENSE   0x00
#define SBC_SENSE_KEY_RECOVERED_ERROR   0x01
#define SBC_SENSE_KEY_NOT_READY   0x02
#define SBC_SENSE_KEY_MEDIUM_ERROR   0x03
#define SBC_SENSE_KEY_HARDWARE_ERROR   0x04
#define SBC_SENSE_KEY_ILLEGAL_REQUEST   0x05
#define SBC_SENSE_KEY_UNIT_ATTENTION   0x06
#define SBC_SENSE_KEY_DATA_PROTECT   0x07
#define SBC_SENSE_KEY_BLANK_CHECK   0x08
#define SBC_SENSE_KEY_VENDOR_SPECIFIC   0x09
#define SBC_SENSE_KEY_COPY_ABORTED   0x0A
#define SBC_SENSE_KEY_ABORTED_COMMAND   0x0B
#define SBC_SENSE_KEY_VOLUME_OVERFLOW   0x0D
#define SBC_SENSE_KEY_MISCOMPARE   0x0E

Detailed Description

This page lists sense key values returned in the REQUEST SENSE data

See also:
spc4r06.pdf - Section 4.5.6 - Table 27

Keys


Define Documentation

#define SBC_SENSE_KEY_ABORTED_COMMAND   0x0B

Device aborted the command.

Definition at line 252 of file SBC.h.

#define SBC_SENSE_KEY_BLANK_CHECK   0x08

Indicates that a write-once device or a sequential-access device encountered blank medium or format-defined end-of-data indication while reading or a write-once device encountered a non-blank medium while writing.

Definition at line 246 of file SBC.h.

#define SBC_SENSE_KEY_COPY_ABORTED   0x0A

EXTENDED COPY command was aborted.

Definition at line 250 of file SBC.h.

#define SBC_SENSE_KEY_DATA_PROTECT   0x07

Write on a block that is protected.

Definition at line 242 of file SBC.h.

#define SBC_SENSE_KEY_HARDWARE_ERROR   0x04

Hardware failure while performing the command or during a self test.

Definition at line 236 of file SBC.h.

#define SBC_SENSE_KEY_ILLEGAL_REQUEST   0x05

Illegal parameter found in the command or additional parameters.

Definition at line 238 of file SBC.h.

#define SBC_SENSE_KEY_MEDIUM_ERROR   0x03

Command terminated with a error condition that was probably caused by a flaw in the medium or an error in the recorded data.

Definition at line 234 of file SBC.h.

#define SBC_SENSE_KEY_MISCOMPARE   0x0E

The source data did not match the data read from the medium.

Definition at line 256 of file SBC.h.

#define SBC_SENSE_KEY_NO_SENSE   0x00

No specific sense key. Successful command.

Definition at line 227 of file SBC.h.

#define SBC_SENSE_KEY_NOT_READY   0x02

The device can not be accessed.

Definition at line 231 of file SBC.h.

#define SBC_SENSE_KEY_RECOVERED_ERROR   0x01

Command completed successfully with some recovery action by the device.

Definition at line 229 of file SBC.h.

#define SBC_SENSE_KEY_UNIT_ATTENTION   0x06

Removable medium may have been changed or the device has been reset.

Definition at line 240 of file SBC.h.

#define SBC_SENSE_KEY_VENDOR_SPECIFIC   0x09

Reporting vendor specific conditions.

Definition at line 248 of file SBC.h.

#define SBC_SENSE_KEY_VOLUME_OVERFLOW   0x0D

A buffered peripheral device is overflow.

Definition at line 254 of file SBC.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines