Macros | Functions | Variables
usbd_msc_core.c File Reference

This file provides all the MSC core functions. More...

#include "usbd_msc_mem.h"
#include "usbd_msc_core.h"
#include "usbd_msc_bot.h"
#include "usbd_req.h"
Include dependency graph for usbd_msc_core.c:

Go to the source code of this file.

Macros

#define UNUSED(x)   (void)(x)
 

Functions

uint8_t USBD_MSC_DataIn (void *pdev, uint8_t epnum)
 USBD_MSC_DataIn handle data IN Stage. More...
 
uint8_t USBD_MSC_DataOut (void *pdev, uint8_t epnum)
 USBD_MSC_DataOut handle data OUT Stage. More...
 
uint8_t USBD_MSC_DeInit (void *pdev, uint8_t cfgidx)
 USBD_MSC_DeInit DeInitilaize the mass storage configuration. More...
 
uint8_t * USBD_MSC_GetCfgDesc (uint8_t speed, uint16_t *length)
 USBD_MSC_GetCfgDesc return configuration descriptor. More...
 
uint8_t USBD_MSC_Init (void *pdev, uint8_t cfgidx)
 USBD_MSC_Init Initialize the mass storage configuration. More...
 
uint8_t USBD_MSC_Setup (void *pdev, USB_SETUP_REQ *req)
 USBD_MSC_Setup Handle the MSC specific requests. More...
 

Variables

__ALIGN_BEGIN uint8_t USBD_MSC_CfgDesc[USB_MSC_CONFIG_DESC_SIZ__ALIGN_END
 
USBD_Class_cb_TypeDef USBD_MSC_cb
 
uint8_t USBD_MSC_CfgDesc [USB_MSC_CONFIG_DESC_SIZ]
 

Detailed Description

This file provides all the MSC core functions.

Author
MCD Application Team
Version
V1.2.0
Date
09-November-2015
*
*          ===================================================================
*                                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:
*             - 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 usbd_msc_core.c.

Macro Definition Documentation

#define UNUSED (   x)    (void)(x)

Definition at line 49 of file usbd_msc_core.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:53