Glitch filter configuration options and update to PSoC Creator v3.2
[SCSI2SD-V6.git] / software / include / scsi2sd.h
index cec7485..e377b76 100755 (executable)
@@ -85,6 +85,8 @@ typedef enum
 {
        CONFIG_ENABLE_UNIT_ATTENTION = 1,
        CONFIG_ENABLE_PARITY = 2,
+       CONFIG_ENABLE_SCSI2 = 4,
+       CONFIG_DISABLE_GLITCH = 8
 } CONFIG_FLAGS;
 
 typedef enum
@@ -181,7 +183,14 @@ typedef enum
        // Response:
        // uint8_t[16] CSD
        // uint8_t[16] CID
-       CONFIG_SDINFO
+       CONFIG_SDINFO,
+
+       // Command content:
+       // uint8_t CONFIG_SCSITEST
+       // Response:
+       // CONFIG_STATUS
+       // uint8_t result code (0 = passed)
+       CONFIG_SCSITEST
 } CONFIG_COMMAND;
 
 typedef enum