SCSI Logical Unit.
Public Attributes#
Index of this logical unit in the global SCSI lun table.
Dev vendor info.
Dev prod ID.
Revision level of product.
write protected or not.
Flag that indicates if logical unit is removeable.
The class number of the MSC instance.
Logical unit nbr inside the class instance.
Pointer to logical unit's driver API.
Pointer to storage driver's data.
Quantity of blocks.
Size of blocks.
Logical Blk Addr.
Nbr of mem blks.
Sense key describing an err or exception cond.
Additional Sense Code describing sense key in detail.
Flag indicating logical unit locked or not.
Flag indicating logical unit is present or not.
Public Attribute Documentation#
lun_index#
uint8_t sl_usbd_msc_scsi_lun_t::lun_index
Index of this logical unit in the global SCSI lun table.
product_revision_level#
uint32_t sl_usbd_msc_scsi_lun_t::product_revision_level
Revision level of product.
is_removable#
bool sl_usbd_msc_scsi_lun_t::is_removable
Flag that indicates if logical unit is removeable.
scsi_lun_api_ptr#
sl_usbd_msc_scsi_lun_api_t* sl_usbd_msc_scsi_lun_t::scsi_lun_api_ptr
Pointer to logical unit's driver API.
present_flag#
bool sl_usbd_msc_scsi_lun_t::present_flag
Flag indicating logical unit is present or not.