USBH_MSC_SCSI_Read() is only used within STM32_USB_Host_Library.
 
Symbols
loading...
Files
loading...

USBH_MSC_SCSI_Read() function

USBH_MSC_SCSI_Read Issue Read10 command.

Syntax

USBH_StatusTypeDef USBH_MSC_SCSI_Read(USBH_HandleTypeDef *phost,     uint8_t lun,     uint32_t address,     uint8_t *pbuf,     uint32_t length);
Implemented in usbh_msc_scsi.c:391

Arguments

phost

Host handle

lun

Logical Unit Number

address

sector address

pbuf

pointer to data

length

number of sector to read

Return value

USBH Status

References

LocationReferrerText
usbh_msc_scsi.c:391
usbh_msc_scsi.h:182
usbh_msc.c:574USBH_MSC_RdWrProcess()
scsi_status = USBH_MSC_SCSI_Read(phost, lun, 0U, NULL, 0U);
usbh_msc.c:794USBH_MSC_Read()
(void)USBH_MSC_SCSI_Read(phost, lun, address, pbuf, length);