2 #if (USE_STM32_USB_HOST_MODE || USE_STM32_USB_USE_DEVICE_MODE || USE_STM32_USB_OTG_MODE)
31 #ifndef __USBH_MSC_CORE_H
32 #define __USBH_MSC_CORE_H
35 #include "config/usb_conf.h"
36 #if defined(USE_HOST_MODE)
38 #include "stm32/usb/usbh_core.h"
39 #include "stm32/usb/usbh_stdreq.h"
40 #include "stm32/usb/usb_bsp.h"
41 #include "stm32/usb/usbh_ioreq.h"
42 #include "stm32/usb/usbh_hcs.h"
43 #include "stm32/usb/usbh_msc_core.h"
44 #include "stm32/usb/usbh_msc_scsi.h"
45 #include "stm32/usb/usbh_msc_bot.h"
71 typedef struct _MSC_Process
77 uint16_t MSBulkInEpSize;
78 uint16_t MSBulkOutEpSize;
79 uint8_t buff[USBH_MSC_MPS_SIZE];
95 #define USB_REQ_BOT_RESET 0xFF
96 #define USB_REQ_GET_MAX_LUN 0xFE
113 extern USBH_Class_cb_TypeDef USBH_MSC_cb;
114 extern MSC_Machine_TypeDef MSC_Machine;
115 extern uint8_t MSCErrorCount;
libheivs configuration file