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"
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] |
This file provides all the MSC core 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: * - Bulk-Only Transport protocol * - Subclass : SCSI transparent command set (ref. SCSI Primary Commands - 3 (SPC-3)) * *
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.
#define UNUSED | ( | x | ) | (void)(x) |
Definition at line 49 of file usbd_msc_core.c.