Documentation: Update copyrights to 2019.
[pub/lufa.git] / LUFA / Drivers / USB / Class / Common / MassStorageClassCommon.h
index 49246ba..ddf2c9f 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2011.
+     Copyright (C) Dean Camera, 2019.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2019  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -18,7 +18,7 @@
   advertising or publicity pertaining to distribution of the
   software without specific, written prior permission.
 
-  The author disclaim all warranties with regard to this
+  The author disclaims all warranties with regard to this
   software, including all implied warranties of merchantability
   and fitness.  In no event shall the author be liable for any
   special, indirect or consequential damages or any damages
@@ -40,7 +40,7 @@
 /** \ingroup Group_USBClassMS
  *  \defgroup Group_USBClassMSCommon  Common Class Definitions
  *
- *  \section Sec_ModDescription Module Description
+ *  \section Sec_USBClassMSCommon_ModDescription Module Description
  *  Constants, Types and Enum definitions that are common to both Device and Host modes for the USB
  *  Mass Storage Class.
  *
@@ -90,6 +90,9 @@
                /** SCSI Command Code for a READ CAPACITY (10) command. */
                #define SCSI_CMD_READ_CAPACITY_10                      0x25
 
+               /** SCSI Command Code for a START STOP UNIT command. */
+               #define SCSI_CMD_START_STOP_UNIT                       0x1B
+
                /** SCSI Command Code for a SEND DIAGNOSTIC command. */
                #define SCSI_CMD_SEND_DIAGNOSTIC                       0x1D
 
                /** SCSI Command Code for a MODE SENSE (10) command. */
                #define SCSI_CMD_MODE_SENSE_10                         0x5A
                //@}
-               
+
                /** \name SCSI Sense Key Values */
                //@{
                /** SCSI Sense Code to indicate no error has occurred. */
                /** SCSI Sense Code to indicate that the source data did not match the data read from the medium. */
                #define SCSI_SENSE_KEY_MISCOMPARE                      0x0E
                //@}
-               
+
                /** \name SCSI Additional Sense Codes */
                //@{
                /** SCSI Additional Sense Code to indicate no additional sense information is available. */
                /** SCSI Additional Sense Code to indicate that no removable medium is inserted into the device. */
                #define SCSI_ASENSE_MEDIUM_NOT_PRESENT                 0x3A
                //@}
-               
+
                /** \name SCSI Additional Sense Key Code Qualifiers */
                //@{
                /** SCSI Additional Sense Qualifier Code to indicate no additional sense qualifier information is available. */
                /** SCSI Additional Sense Qualifier Code to indicate that an operation is currently in progress. */
                #define SCSI_ASENSEQ_OPERATION_IN_PROGRESS             0x07
                //@}
-               
+
        /* Enums: */
                /** Enum for possible Class, Subclass and Protocol values of device and interface descriptors relating to the Mass
                 *  Storage device class.
                                                                   *   belongs to the Bulk Only Transport protocol of the Mass Storage class.
                                                                   */
                };
-       
+
                /** Enum for the Mass Storage class specific control requests that can be issued by the USB bus host. */
                enum MS_ClassRequests_t
                {