Nirvana Jay / Mbed 2 deprecated F7DISCO_Demo

Dependencies:   BSP_DISCO_F746NG_patch mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

USBH_MSC_SCSI_Private_Functions

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:
USBHStatus

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:
USBHStatus

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:
USBHStatus

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:
USBHStatus

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:
USBHStatus

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:
USBHStatus

Definition at line 323 of file usbh_msc_scsi.c.