discoverpixy
Functions | Variables
usbh_msc_bot.c File Reference

This file includes the mass storage related functions. More...

#include "usbh_msc_core.h"
#include "usbh_msc_scsi.h"
#include "usbh_msc_bot.h"
#include "usbh_ioreq.h"
#include "usbh_def.h"
#include "usb_hcd_int.h"
Include dependency graph for usbh_msc_bot.c:

Functions

void USBH_MSC_Init (USB_OTG_CORE_HANDLE *pdev)
 USBH_MSC_Init Initializes the mass storage parameters. More...
 
void USBH_MSC_HandleBOTXfer (USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost)
 USBH_MSC_HandleBOTXfer This function manages the different states of BOT transfer and updates the status to upper layer. More...
 
USBH_Status USBH_MSC_BOT_Abort (USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost, uint8_t direction)
 USBH_MSC_BOT_Abort This function manages the different Error handling for STALL. More...
 
uint8_t USBH_MSC_DecodeCSW (USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost)
 USBH_MSC_DecodeCSW This function decodes the CSW received by the device and updates the same to upper layer. More...
 

Variables

__ALIGN_BEGIN HostCBWPkt_TypeDef USBH_MSC_CBWData __ALIGN_END
 
USBH_BOTXfer_TypeDef USBH_MSC_BOTXferParam
 

Detailed Description

This file includes the mass storage related functions.

Author
MCD Application Team
Version
V2.0.0
Date
22-July-2011
Attention

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2011 STMicroelectronics