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.
120
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
vendor_id_str#
const char* sl_usbd_msc_scsi_lun_t::vendor_id_str
Dev vendor info.
122
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
product_id_str#
const char* sl_usbd_msc_scsi_lun_t::product_id_str
Dev prod ID.
123
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
product_revision_level#
uint32_t sl_usbd_msc_scsi_lun_t::product_revision_level
Revision level of product.
124
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
is_read_only#
bool sl_usbd_msc_scsi_lun_t::is_read_only
write protected or not.
125
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
is_removable#
bool sl_usbd_msc_scsi_lun_t::is_removable
Flag that indicates if logical unit is removeable.
126
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
class_nbr#
uint8_t sl_usbd_msc_scsi_lun_t::class_nbr
The class number of the MSC instance.
128
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
lu_nbr#
uint8_t sl_usbd_msc_scsi_lun_t::lu_nbr
Logical unit nbr inside the class instance.
129
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
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.
131
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
data_ptr#
void* sl_usbd_msc_scsi_lun_t::data_ptr
Pointer to storage driver's data.
132
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
blocks_nbr#
sl_usbd_msc_scsi_lb_qty_t sl_usbd_msc_scsi_lun_t::blocks_nbr
Quantity of blocks.
134
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
block_size#
uint32_t sl_usbd_msc_scsi_lun_t::block_size
Size of blocks.
135
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
lb_addr#
sl_usbd_msc_scsi_lba_t sl_usbd_msc_scsi_lun_t::lb_addr
Logical Blk Addr.
137
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
lb_count#
uint32_t sl_usbd_msc_scsi_lun_t::lb_count
Nbr of mem blks.
138
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
sense_key#
uint8_t sl_usbd_msc_scsi_lun_t::sense_key
Sense key describing an err or exception cond.
139
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
asc#
uint8_t sl_usbd_msc_scsi_lun_t::asc
Additional Sense Code describing sense key in detail.
140
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
opened_flag#
bool sl_usbd_msc_scsi_lun_t::opened_flag
Flag indicating logical unit locked or not.
142
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h
present_flag#
bool sl_usbd_msc_scsi_lun_t::present_flag
Flag indicating logical unit is present or not.
143
of file protocol/usb/inc/sl_usbd_class_msc_scsi.h