Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG_patch mbed-rtos mbed
USBH_MSC_SCSI_Private_Functions
[USBH_MSC_SCSI]
Functions | |
| USBH_StatusTypeDef | USBH_MSC_SCSI_TestUnitReady (USBH_HandleTypeDef *phost, uint8_t lun) |
| USBH_MSC_SCSI_TestUnitReady Issue TestUnitReady command. | |
| USBH_StatusTypeDef | USBH_MSC_SCSI_ReadCapacity (USBH_HandleTypeDef *phost, uint8_t lun, SCSI_CapacityTypeDef *capacity) |
| USBH_MSC_SCSI_ReadCapacity Issue Read Capacity command. | |
| USBH_StatusTypeDef | USBH_MSC_SCSI_Inquiry (USBH_HandleTypeDef *phost, uint8_t lun, SCSI_StdInquiryDataTypeDef *inquiry) |
| USBH_MSC_SCSI_Inquiry Issue Inquiry command. | |
| USBH_StatusTypeDef | USBH_MSC_SCSI_RequestSense (USBH_HandleTypeDef *phost, uint8_t lun, SCSI_SenseTypeDef *sense_data) |
| USBH_MSC_SCSI_RequestSense Issue RequestSense command. | |
| USBH_StatusTypeDef | USBH_MSC_SCSI_Write (USBH_HandleTypeDef *phost, uint8_t lun, uint32_t address, uint8_t *pbuf, uint32_t length) |
| USBH_MSC_SCSI_Write Issue write10 command. | |
| USBH_StatusTypeDef | USBH_MSC_SCSI_Read (USBH_HandleTypeDef *phost, uint8_t lun, uint32_t address, uint8_t *pbuf, uint32_t length) |
| USBH_MSC_SCSI_Read Issue Read10 command. | |
Function Documentation
| USBH_StatusTypeDef USBH_MSC_SCSI_Inquiry | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | lun, | ||
| SCSI_StdInquiryDataTypeDef * | inquiry | ||
| ) |
USBH_MSC_SCSI_Inquiry Issue Inquiry command.
- Parameters:
-
phost,: Host handle lun,: Logical Unit Number capacity,: pointer to the inquiry structure
- Return values:
-
USBH Status
Definition at line 202 of file usbh_msc_scsi.c.
| USBH_StatusTypeDef USBH_MSC_SCSI_Read | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | lun, | ||
| uint32_t | address, | ||
| uint8_t * | pbuf, | ||
| uint32_t | length | ||
| ) |
USBH_MSC_SCSI_Read Issue Read10 command.
- Parameters:
-
phost,: Host handle lun,: Logical Unit Number address,: sector address pbuf,: pointer to data length,: number of sector to read
- Return values:
-
USBH Status
Definition at line 384 of file usbh_msc_scsi.c.
| USBH_StatusTypeDef USBH_MSC_SCSI_ReadCapacity | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | lun, | ||
| SCSI_CapacityTypeDef * | capacity | ||
| ) |
USBH_MSC_SCSI_ReadCapacity Issue Read Capacity command.
- Parameters:
-
phost,: Host handle lun,: Logical Unit Number capacity,: pointer to the capacity structure
- Return values:
-
USBH Status
Definition at line 146 of file usbh_msc_scsi.c.
| USBH_StatusTypeDef USBH_MSC_SCSI_RequestSense | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | lun, | ||
| SCSI_SenseTypeDef * | sense_data | ||
| ) |
USBH_MSC_SCSI_RequestSense Issue RequestSense command.
- Parameters:
-
phost,: Host handle lun,: Logical Unit Number capacity,: pointer to the sense data structure
- Return values:
-
USBH Status
Definition at line 264 of file usbh_msc_scsi.c.
| USBH_StatusTypeDef USBH_MSC_SCSI_TestUnitReady | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | lun | ||
| ) |
USBH_MSC_SCSI_TestUnitReady Issue TestUnitReady command.
- Parameters:
-
phost,: Host handle lun,: Logical Unit Number
- Return values:
-
USBH Status
Definition at line 104 of file usbh_msc_scsi.c.
| USBH_StatusTypeDef USBH_MSC_SCSI_Write | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | lun, | ||
| uint32_t | address, | ||
| uint8_t * | pbuf, | ||
| uint32_t | length | ||
| ) |
USBH_MSC_SCSI_Write Issue write10 command.
- Parameters:
-
phost,: Host handle lun,: Logical Unit Number address,: sector address pbuf,: pointer to data length,: number of sector to write
- Return values:
-
USBH Status
Definition at line 323 of file usbh_msc_scsi.c.
Generated on Tue Jul 12 2022 14:58:51 by
1.7.2