STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions | Variables
usbh_msc.c File Reference

This file implements the MSC class driver functions

MSC Class Description

This module manages the MSC class V1.0 following the "Universal Serial Bus Mass Storage Class (MSC) Bulk-Only Transport (BOT) Version 1.0 Sep. 31, 1999". This driver implements the following aspects of the specification: More...

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

Go to the source code of this file.

Functions

uint8_t USBH_MSC_IsReady (USBH_HandleTypeDef *phost)
 USBH_MSC_IsReady The function check if the MSC function is ready. More...
 
int8_t USBH_MSC_GetMaxLUN (USBH_HandleTypeDef *phost)
 USBH_MSC_GetMaxLUN The function return the Max LUN supported. More...
 
uint8_t USBH_MSC_UnitIsReady (USBH_HandleTypeDef *phost, uint8_t lun)
 USBH_MSC_UnitIsReady The function check whether a LUN is ready. More...
 
USBH_StatusTypeDef USBH_MSC_GetLUNInfo (USBH_HandleTypeDef *phost, uint8_t lun, MSC_LUNTypeDef *info)
 USBH_MSC_GetLUNInfo The function return a LUN information. More...
 
USBH_StatusTypeDef USBH_MSC_Read (USBH_HandleTypeDef *phost, uint8_t lun, uint32_t address, uint8_t *pbuf, uint32_t length)
 USBH_MSC_Read The function performs a Read operation. More...
 
USBH_StatusTypeDef USBH_MSC_Write (USBH_HandleTypeDef *phost, uint8_t lun, uint32_t address, uint8_t *pbuf, uint32_t length)
 USBH_MSC_Write The function performs a Write operation. More...
 

Variables

USBH_ClassTypeDef USBH_msc
 

Detailed Description

This file implements the MSC class driver functions

MSC Class Description

This module manages the MSC class V1.0 following the "Universal Serial Bus Mass Storage Class (MSC) Bulk-Only Transport (BOT) Version 1.0 Sep. 31, 1999". This driver implements the following aspects of the specification:

Author
MCD Application Team
Version
V3.2.2
Date
07-July-2015
  • Bulk-Only Transport protocol
  • Subclass : SCSI transparent command set (ref. SCSI Primary Commands - 3 (SPC-3))
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.

Definition in file usbh_msc.c.