33 #ifndef __USBD_MSC_BOT_H 34 #define __USBD_MSC_BOT_H 50 #define BOT_DATA_OUT 1 52 #define BOT_LAST_DATA_IN 3 53 #define BOT_SEND_DATA 4 55 #define BOT_CBW_SIGNATURE 0x43425355 56 #define BOT_CSW_SIGNATURE 0x53425355 57 #define BOT_CBW_LENGTH 31 58 #define BOT_CSW_LENGTH 13 61 #define CSW_CMD_PASSED 0x00 62 #define CSW_CMD_FAILED 0x01 63 #define CSW_PHASE_ERROR 0x02 66 #define BOT_STATE_NORMAL 0 67 #define BOT_STATE_RECOVERY 1 68 #define BOT_STATE_ERROR 2
void MSC_BOT_DeInit(USB_OTG_CORE_HANDLE *pdev)
MSC_BOT_DeInit Uninitialize the BOT Machine.
void MSC_BOT_Reset(USB_OTG_CORE_HANDLE *pdev)
MSC_BOT_Reset Reset the BOT Machine.
void MSC_BOT_SendCSW(USB_OTG_CORE_HANDLE *pdev, uint8_t CSW_Status)
MSC_BOT_SendCSW Send the Command Status Wrapper.
struct _MSC_BOT_CBW MSC_BOT_CBW_TypeDef
struct _MSC_BOT_CSW MSC_BOT_CSW_TypeDef
uint8_t MSC_BOT_BurstMode
void MSC_BOT_DataIn(USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
MSC_BOT_DataIn Handle BOT IN data stage.
MSC_BOT_CBW_TypeDef MSC_BOT_cbw
void MSC_BOT_CplClrFeature(USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
MSC_BOT_CplClrFeature Complete the clear feature request.
MSC_BOT_CSW_TypeDef MSC_BOT_csw
Header file for usbd_core.c.
void MSC_BOT_Init(USB_OTG_CORE_HANDLE *pdev)
MSC_BOT_Init Initialize the BOT Process.
void MSC_BOT_DataOut(USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
MSC_BOT_DataOut Proccess MSC OUT data.