* 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
- #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
- #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
} SCSI_Request_Sense_Response_t;\r
\r
/* Function Prototypes: */\r
- void SCSI_DecodeSCSICommand(void);\r
+ bool SCSI_DecodeSCSICommand(void);\r
\r
#if defined(INCLUDE_FROM_SCSI_C)\r
- static bool SCSI_Command_Inquiry(void);\r
- static bool SCSI_Command_Request_Sense(void);\r
- static bool SCSI_Command_Read_Capacity_10(void);\r
- static bool SCSI_Command_Send_Diagnostic(void);\r
- static bool SCSI_Command_ReadWrite_10(const bool IsDataRead);\r
+ static void SCSI_Command_Inquiry(void);\r
+ static void SCSI_Command_Request_Sense(void);\r
+ static void SCSI_Command_Read_Capacity_10(void);\r
+ static void SCSI_Command_Send_Diagnostic(void);\r
+ static void SCSI_Command_ReadWrite_10(const bool IsDataRead);\r
#endif\r
\r
#endif\r