Packet structure to answer (SCSI_INQUIRY) request.  
 More...
Packet structure to answer (SCSI_INQUIRY) request. 
- See also
- Inquiry Command from SCSI Primary Command
- Note
- Vendor specific information (Byte 36 and above) and flags from bytes 5 to 7 are currently unsupported 
Definition at line 172 of file scsi.h.
#include <scsi.h>
|  | 
| uint8_t | type | 
|  | Byte 0 Peripheral type. 
 | 
|  | 
| uint8_t | reserved1: 7 | 
|  | Byte 1 [B6..B0] Reserved. 
 | 
|  | 
| uint8_t | removable: 1 | 
|  | Byte 1 [B7] Removable device flag. 
 | 
|  | 
| uint8_t | version | 
|  | Byte 2 SCSI Version. 
 | 
|  | 
| uint8_t | response_format: 4 | 
|  | Byte 3 [B3..B0] Response Data Format. 
 | 
|  | 
| uint8_t | reserved3: 4 | 
|  | Byte 3 [B7..B4] Reserved. 
 | 
|  | 
| uint8_t | length | 
|  | Byte 4 Additional Length (n-4) 
 | 
|  | 
| uint8_t | flags [3] | 
|  | Byte 7..5 Miscellaneous flags UNUSED BY USBUS ONLY. 
 | 
|  | 
| uint8_t | vendor_id [8] | 
|  | Byte 15..8 Vendor Identification. 
 | 
|  | 
| uint8_t | product_id [16] | 
|  | Byte 31..16 Product Identification. 
 | 
|  | 
| uint8_t | product_rev [4] | 
|  | Byte 35..32 Product Revision. 
 | 
|  | 
◆ flags
      
        
          | uint8_t msc_inquiry_pkt_t::flags[3] | 
      
 
Byte 7..5 Miscellaneous flags UNUSED BY USBUS ONLY. 
Definition at line 180 of file scsi.h.
 
 
◆ length
      
        
          | uint8_t msc_inquiry_pkt_t::length | 
      
 
Byte 4 Additional Length (n-4) 
Definition at line 179 of file scsi.h.
 
 
◆ product_id
      
        
          | uint8_t msc_inquiry_pkt_t::product_id[16] | 
      
 
Byte 31..16 Product Identification. 
Definition at line 182 of file scsi.h.
 
 
◆ product_rev
      
        
          | uint8_t msc_inquiry_pkt_t::product_rev[4] | 
      
 
Byte 35..32 Product Revision. 
Definition at line 183 of file scsi.h.
 
 
◆ removable
      
        
          | uint8_t msc_inquiry_pkt_t::removable | 
      
 
Byte 1 [B7] Removable device flag. 
Definition at line 175 of file scsi.h.
 
 
◆ reserved1
      
        
          | uint8_t msc_inquiry_pkt_t::reserved1 | 
      
 
Byte 1 [B6..B0] Reserved. 
Definition at line 174 of file scsi.h.
 
 
◆ reserved3
      
        
          | uint8_t msc_inquiry_pkt_t::reserved3 | 
      
 
Byte 3 [B7..B4] Reserved. 
Definition at line 178 of file scsi.h.
 
 
◆ response_format
      
        
          | uint8_t msc_inquiry_pkt_t::response_format | 
      
 
Byte 3 [B3..B0] Response Data Format. 
Definition at line 177 of file scsi.h.
 
 
◆ type
      
        
          | uint8_t msc_inquiry_pkt_t::type | 
      
 
Byte 0 Peripheral type. 
Definition at line 173 of file scsi.h.
 
 
◆ vendor_id
      
        
          | uint8_t msc_inquiry_pkt_t::vendor_id[8] | 
      
 
Byte 15..8 Vendor Identification. 
Definition at line 181 of file scsi.h.
 
 
◆ version
      
        
          | uint8_t msc_inquiry_pkt_t::version | 
      
 
Byte 2 SCSI Version. 
Definition at line 176 of file scsi.h.
 
 
The documentation for this struct was generated from the following file:
- sys/include/usb/usbus/msc/scsi.h