Macros | Functions | Variables
usbd_msc_bot.c File Reference

This file provides all the BOT protocol core functions. More...

#include "usbd_msc_bot.h"
#include "usbd_msc_scsi.h"
#include "usbd_ioreq.h"
#include "usbd_msc_mem.h"
Include dependency graph for usbd_msc_bot.c:

Go to the source code of this file.

Macros

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

Functions

static void MSC_BOT_Abort (USB_OTG_CORE_HANDLE *pdev)
 MSC_BOT_Abort Abort the current transfer. More...
 
static void MSC_BOT_CBW_Decode (USB_OTG_CORE_HANDLE *pdev)
 MSC_BOT_CBW_Decode Decode the CBW command and set the BOT state machine accordingtly. More...
 
void MSC_BOT_CplClrFeature (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
 MSC_BOT_CplClrFeature Complete the clear feature request. More...
 
void MSC_BOT_DataIn (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
 MSC_BOT_DataIn Handle BOT IN data stage. More...
 
void MSC_BOT_DataOut (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
 MSC_BOT_DataOut Proccess MSC OUT data. More...
 
void MSC_BOT_DeInit (USB_OTG_CORE_HANDLE *pdev)
 MSC_BOT_DeInit Uninitialize the BOT Machine. More...
 
void MSC_BOT_Init (USB_OTG_CORE_HANDLE *pdev)
 MSC_BOT_Init Initialize the BOT Process. More...
 
void MSC_BOT_Reset (USB_OTG_CORE_HANDLE *pdev)
 MSC_BOT_Reset Reset the BOT Machine. More...
 
void MSC_BOT_SendCSW (USB_OTG_CORE_HANDLE *pdev, uint8_t CSW_Status)
 MSC_BOT_SendCSW Send the Command Status Wrapper. More...
 
static void MSC_BOT_SendData (USB_OTG_CORE_HANDLE *pdev, uint8_t *buf, uint16_t len)
 MSC_BOT_SendData Send the requested data. More...
 

Variables

__ALIGN_BEGIN uint8_t MSC_BOT_Data[MSC_MEDIA_PACKET__ALIGN_END
 
uint16_t MSC_BOT_DataLen
 
uint8_t MSC_BOT_State
 
uint8_t MSC_BOT_Status
 

Detailed Description

This file provides all the BOT protocol core functions.

Author
MCD Application Team
Version
V1.2.0
Date
09-November-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.

Definition in file usbd_msc_bot.c.

Macro Definition Documentation

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

Definition at line 34 of file usbd_msc_bot.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28