GD32F10x USB-Device: E:/USB Libraries/GD32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c File Reference

GD32F103 Firmware

usbd_msc_bot.c File Reference

USB BBB(Bulk/Bulk/Bulk) protocol core functions. More...

#include "usbd_msc_bot.h"

Go to the source code of this file.

Functions

void MSC_BBB_Init (USB_DEVICE_HANDLE *pudev)
 Initialize the BBB process. More...
 
void MSC_BBB_Reset (USB_DEVICE_HANDLE *pudev)
 Reset the BBB machine. More...
 
void MSC_BBB_DeInit (USB_DEVICE_HANDLE *pudev)
 De-Initialize the BBB Machine. More...
 
void MSC_BBB_DataIn (USB_DEVICE_HANDLE *pudev, uint8_t EpID)
 Handle BBB IN data stage. More...
 
void MSC_BBB_DataOut (USB_DEVICE_HANDLE *pudev, uint8_t EpID)
 Handle BBB OUT data stage. More...
 
void MSC_BBB_SendCSW (USB_DEVICE_HANDLE *pudev, uint8_t CSW_Status)
 Send the CSW(command status wrapper) More...
 
void MSC_BBB_CplClrFeature (USB_DEVICE_HANDLE *pudev, uint8_t EpID)
 Complete the clear feature request. More...
 

Variables

uint16_t MSC_BBB_DataLen
 
uint8_t MSC_BBB_State
 
uint8_t MSC_BBB_Status
 
uint8_t MSC_BBB_Data [MSC_MEDIA_PACKET_SIZE]
 
MSC_BBB_CBW_TypeDef MSC_BBB_cbw
 
MSC_BBB_CSW_TypeDef MSC_BBB_csw
 

Detailed Description

USB BBB(Bulk/Bulk/Bulk) protocol core functions.

Author
MCU SD
Version
V1.0.0
Date
26-Dec-2014
Note
BBB means Bulk-only transport protocol for usb mass storage device

Definition in file usbd_msc_bot.c.

Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by   doxygen 1.8.8