Prusa MINI Firmware overview
usbh_msc_scsi.c File Reference

This file implements the SCSI commands. More...

#include "usbh_msc.h"
#include "usbh_msc_scsi.h"
#include "usbh_msc_bot.h"

Functions

USBH_StatusTypeDef USBH_MSC_SCSI_TestUnitReady (USBH_HandleTypeDef *phost, uint8_t lun)
 USBH_MSC_SCSI_TestUnitReady Issue TestUnitReady command. More...
 
USBH_StatusTypeDef USBH_MSC_SCSI_ReadCapacity (USBH_HandleTypeDef *phost, uint8_t lun, SCSI_CapacityTypeDef *capacity)
 USBH_MSC_SCSI_ReadCapacity Issue Read Capacity command. More...
 
USBH_StatusTypeDef USBH_MSC_SCSI_Inquiry (USBH_HandleTypeDef *phost, uint8_t lun, SCSI_StdInquiryDataTypeDef *inquiry)
 USBH_MSC_SCSI_Inquiry Issue Inquiry command. More...
 
USBH_StatusTypeDef USBH_MSC_SCSI_RequestSense (USBH_HandleTypeDef *phost, uint8_t lun, SCSI_SenseTypeDef *sense_data)
 USBH_MSC_SCSI_RequestSense Issue RequestSense command. More...
 
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. More...
 
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. More...
 

Detailed Description

This file implements the SCSI commands.

Author
MCD Application Team
Version
V3.2.2
Date
07-July-2015
Attention

© COPYRIGHT 2015 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.