Optimized Endpoint_Read_Word_* and Pipe_Read_Word_* macros to reduce compiled size.
[pub/USBasp.git] / Demos / Device / LowLevel / MassStorage / Lib / SCSI.h
index d7693ca..0763286 100644 (file)
                 *  is for convenience, as it allows for all three sense values (returned upon request to the host to give information about\r
                 *  the last command failure) in a quick and easy manner.\r
                 *\r
                 *  is for convenience, as it allows for all three sense values (returned upon request to the host to give information about\r
                 *  the last command failure) in a quick and easy manner.\r
                 *\r
-                *  \param key    New SCSI sense key to set the sense code to\r
-                *  \param acode  New SCSI additional sense key to set the additional sense code to\r
-                *  \param aqual  New SCSI additional sense key qualifier to set the additional sense qualifier code to\r
+                *  \param[in] key    New SCSI sense key to set the sense code to\r
+                *  \param[in] acode  New SCSI additional sense key to set the additional sense code to\r
+                *  \param[in] aqual  New SCSI additional sense key qualifier to set the additional sense qualifier code to\r
                 */\r
                #define SCSI_SET_SENSE(key, acode, aqual)  MACROS{ SenseData.SenseKey = key;              \\r
                                                                   SenseData.AdditionalSenseCode = acode; \\r
                                                                   SenseData.AdditionalSenseQualifier = aqual; }MACROE\r
 \r
                /** Macro for the SCSI_Command_ReadWrite_10() function, to indicate that data is to be read from the storage medium. */\r
                 */\r
                #define SCSI_SET_SENSE(key, acode, aqual)  MACROS{ SenseData.SenseKey = key;              \\r
                                                                   SenseData.AdditionalSenseCode = acode; \\r
                                                                   SenseData.AdditionalSenseQualifier = aqual; }MACROE\r
 \r
                /** Macro for the SCSI_Command_ReadWrite_10() function, to indicate that data is to be read from the storage medium. */\r
-               #define DATA_READ      true\r
+               #define DATA_READ         true\r
 \r
                /** Macro for the SCSI_Command_ReadWrite_10() function, to indicate that data is to be written to the storage medium. */\r
 \r
                /** Macro for the SCSI_Command_ReadWrite_10() function, to indicate that data is to be written to the storage medium. */\r
-               #define DATA_WRITE     false\r
+               #define DATA_WRITE        false\r
 \r
                /** Value for the DeviceType entry in the SCSI_Inquiry_Response_t enum, indicating a Block Media device. */\r
                #define DEVICE_TYPE_BLOCK 0x00\r
 \r
                /** Value for the DeviceType entry in the SCSI_Inquiry_Response_t enum, indicating a Block Media device. */\r
                #define DEVICE_TYPE_BLOCK 0x00\r