Classes | Macros | Typedefs | Functions | Variables
usbd_msc_bot.h File Reference

header for the usbd_msc_bot.c file More...

#include "usbd_core.h"
Include dependency graph for usbd_msc_bot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _MSC_BOT_CBW
 
struct  _MSC_BOT_CSW
 

Macros

#define BOT_CBW_LENGTH   31
 
#define BOT_CBW_SIGNATURE   0x43425355
 
#define BOT_CSW_LENGTH   13
 
#define BOT_CSW_SIGNATURE   0x53425355
 
#define BOT_DATA_IN   2 /* Data In state */
 
#define BOT_DATA_OUT   1 /* Data Out state */
 
#define BOT_IDLE   0 /* Idle state */
 
#define BOT_LAST_DATA_IN   3 /* Last Data In Last */
 
#define BOT_SEND_DATA   4 /* Send Immediate data */
 
#define BOT_STATE_ERROR   2
 
#define BOT_STATE_NORMAL   0
 
#define BOT_STATE_RECOVERY   1
 
#define BOTH_DIR   2
 
#define CSW_CMD_FAILED   0x01
 
#define CSW_CMD_PASSED   0x00
 
#define CSW_PHASE_ERROR   0x02
 
#define DIR_IN   0
 
#define DIR_OUT   1
 

Typedefs

typedef struct _MSC_BOT_CBW MSC_BOT_CBW_TypeDef
 
typedef struct _MSC_BOT_CSW MSC_BOT_CSW_TypeDef
 

Functions

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...
 

Variables

uint8_t MSC_BOT_BurstMode
 
MSC_BOT_CBW_TypeDef MSC_BOT_cbw
 
MSC_BOT_CSW_TypeDef MSC_BOT_csw
 
uint8_t MSC_BOT_Data []
 
uint16_t MSC_BOT_DataLen
 
uint8_t MSC_BOT_State
 

Detailed Description

header for the usbd_msc_bot.c file

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.h.



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