diff options
| author | hathach <[email protected]> | 2013-09-26 14:37:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-09-26 14:37:40 +0700 |
| commit | 9d60db0f9f8346965c3f1b49d3ef2f63257cd3ef (patch) | |
| tree | 40433df8f65b1afd5c3bce51a10ece1f96a03ba8 /tinyusb/class/msc.h | |
| parent | 4bdede53eb5e04a1090849742bab02b132cb588a (diff) | |
add scsi write10 & test unit ready
done copy command
implement get_fattime using __DATE__ and number of calls
Diffstat (limited to 'tinyusb/class/msc.h')
| -rw-r--r-- | tinyusb/class/msc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tinyusb/class/msc.h b/tinyusb/class/msc.h index 5ca1db6bd..f4adbbbea 100644 --- a/tinyusb/class/msc.h +++ b/tinyusb/class/msc.h @@ -121,6 +121,15 @@ STATIC_ASSERT(sizeof(msc_cmd_status_wrapper_t) == 13, "size is not correct"); //--------------------------------------------------------------------+ typedef ATTR_PACKED_STRUCT(struct) { uint8_t cmd_code; + uint8_t lun; + uint8_t reserved[3]; + uint8_t control; +} scsi_test_unit_ready_t; + +STATIC_ASSERT(sizeof(scsi_test_unit_ready_t) == 6, "size is not correct"); + +typedef ATTR_PACKED_STRUCT(struct) { + uint8_t cmd_code; uint8_t reserved1; uint8_t page_code; uint8_t reserved2; |
