Added board hardware driver support for the UDIP development board.
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Common / MassStorage.h
index ade71a2..9a391ee 100644 (file)
                /** SCSI Additional Sense Code to indicate an invalid field was encountered while processing the issued command. */
                #define SCSI_ASENSE_INVALID_FIELD_IN_CDB               0x24
 
+               /** SCSI Additional Sense Code to indicate that a medium that was previously indicated as not ready has now
+                *  become ready for use.
+                */
+               #define SCSI_ASENSE_NOT_READY_TO_READY_CHANGE          0x28
+
                /** SCSI Additional Sense Code to indicate that an attempt to write to a protected area was made. */
                #define SCSI_ASENSE_WRITE_PROTECTED                    0x27
 
                        uint8_t       SegmentNumber;
                        
                        unsigned char SenseKey            : 4;
-                       unsigned char _RESERVED1          : 1;
+                       unsigned char Reserved            : 1;
                        unsigned char ILI                 : 1;
                        unsigned char EOM                 : 1;
                        unsigned char FileMark            : 1;
                        unsigned char DeviceType          : 5;
                        unsigned char PeripheralQualifier : 3;
                        
-                       unsigned char _RESERVED1          : 7;
+                       unsigned char Reserved            : 7;
                        unsigned char Removable           : 1;
                        
                        uint8_t      Version;
                        
                        unsigned char ResponseDataFormat  : 4;
-                       unsigned char _RESERVED2          : 1;
+                       unsigned char Reserved2           : 1;
                        unsigned char NormACA             : 1;
                        unsigned char TrmTsk              : 1;
                        unsigned char AERC                : 1;
 
                        uint8_t      AdditionalLength;
-                       uint8_t      _RESERVED3[2];
+                       uint8_t      Reserved3[2];
 
                        unsigned char SoftReset           : 1;
                        unsigned char CmdQue              : 1;
-                       unsigned char _RESERVED4          : 1;
+                       unsigned char Reserved4           : 1;
                        unsigned char Linked              : 1;
                        unsigned char Sync                : 1;
                        unsigned char WideBus16Bit        : 1;