ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_usb_hmsc_inquiry_response_t Struct Reference

Decoded SCSI INQUIRY response. More...

#include <ra8_usb_hmsc.h>

Data Fields

uint8_t peripheral_qualifier
 Bits [7:5] of byte 0.
uint8_t peripheral_device_type
 Bits [4:0] of byte 0.
uint8_t removable
 1 = removable medium.
uint8_t version
 SPC version code.
uint8_t vendor_id [8]
 T10 Vendor ID, ASCII.
uint8_t product_id [16]
 Product ID, ASCII.
uint8_t product_revision [4]
 Product revision, ASCII.

Detailed Description

Decoded SCSI INQUIRY response.

Mirrors SBC-4 sec 6.6 standard INQUIRY data layout. The three trailing strings are SPACE-padded, NOT NUL-terminated, on the wire; the driver copies them in unchanged.

Definition at line 206 of file ra8_usb_hmsc.h.

Field Documentation

◆ peripheral_device_type

uint8_t ra8_usb_hmsc_inquiry_response_t::peripheral_device_type

Bits [4:0] of byte 0.

Definition at line 208 of file ra8_usb_hmsc.h.

Referenced by internal_decode_inquiry().

◆ peripheral_qualifier

uint8_t ra8_usb_hmsc_inquiry_response_t::peripheral_qualifier

Bits [7:5] of byte 0.

Definition at line 207 of file ra8_usb_hmsc.h.

Referenced by internal_decode_inquiry().

◆ product_id

uint8_t ra8_usb_hmsc_inquiry_response_t::product_id[16]

Product ID, ASCII.

Definition at line 212 of file ra8_usb_hmsc.h.

Referenced by internal_decode_inquiry().

◆ product_revision

uint8_t ra8_usb_hmsc_inquiry_response_t::product_revision[4]

Product revision, ASCII.

Definition at line 213 of file ra8_usb_hmsc.h.

Referenced by internal_decode_inquiry().

◆ removable

uint8_t ra8_usb_hmsc_inquiry_response_t::removable

1 = removable medium.

Definition at line 209 of file ra8_usb_hmsc.h.

Referenced by internal_decode_inquiry().

◆ vendor_id

uint8_t ra8_usb_hmsc_inquiry_response_t::vendor_id[8]

T10 Vendor ID, ASCII.

Definition at line 211 of file ra8_usb_hmsc.h.

Referenced by internal_decode_inquiry().

◆ version

uint8_t ra8_usb_hmsc_inquiry_response_t::version

SPC version code.

Definition at line 210 of file ra8_usb_hmsc.h.

Referenced by internal_decode_inquiry().


The documentation for this struct was generated from the following file: