113 USB_REQ_RECIPIENT_INTERFACE;
133 USB_REQ_RECIPIENT_INTERFACE;
220 #if (USBH_USE_OS == 1) 229 #if (USBH_USE_OS == 1) 236 #if (USBH_USE_OS == 1) 284 #if (USBH_USE_OS == 1) 301 #if (USBH_USE_OS == 1) 349 #if (USBH_USE_OS == 1) 358 #if (USBH_USE_OS == 1) 373 #if (USBH_USE_OS == 1) 398 CSW_Status = USBH_MSC_DecodeCSW(phost);
408 #if (USBH_USE_OS == 1) 415 #if (USBH_USE_OS == 1) 422 error = USBH_MSC_BOT_Abort(phost, lun,
BOT_DIR_IN);
436 error = USBH_MSC_BOT_Abort(phost, lun,
BOT_DIR_OUT);
Header file for usbh_msc_bot.c.
USBH_StatusTypeDef USBH_BulkReceiveData(USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t hc_num)
USBH_BulkReceiveData Receives IN bulk packet from device.
#define USB_REQ_BOT_RESET
USBH_StatusTypeDef USBH_ClrFeature(USBH_HandleTypeDef *phost, uint8_t ep_num)
USBH_ClrFeature This request is used to clear or disable a specific feature.
USBH_StatusTypeDef USBH_BulkSendData(USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t hc_num, uint8_t do_ping)
USBH_BulkSendData Sends the Bulk Packet to the device.
uint32_t USBH_LL_GetLastXferSize(USBH_HandleTypeDef *phost, uint8_t)
USBH_LL_GetLastXferSize Return the last transferred packet size.
This file contains all the prototypes for the usbh_msc.c.
uint8_t USBH_LL_GetToggle(USBH_HandleTypeDef *phost, uint8_t)
USBH_LL_GetToggle Return the current toggle of a pipe.
USBH_StatusTypeDef USBH_MSC_BOT_Init(USBH_HandleTypeDef *phost)
USBH_MSC_BOT_Init The function Initializes the BOT protocol.
USBH_StatusTypeDef USBH_CtlReq(USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length)
USBH_CtlReq USBH_CtlReq sends a control request and provide the status after completion of the reques...
#define USB_REQ_TYPE_CLASS
#define BOT_CBW_SIGNATURE
BOT_CMDStateTypeDef cmd_state
USBH_StatusTypeDef USBH_LL_SetToggle(USBH_HandleTypeDef *phost, uint8_t, uint8_t)
USBH_LL_SetToggle Set toggle for a pipe.
USBH_URBStateTypeDef USBH_LL_GetURBState(USBH_HandleTypeDef *phost, uint8_t)
USBH_LL_GetURBState Get a URB state from the low level driver.
#define BOT_CSW_SIGNATURE
#define USB_REQ_GET_MAX_LUN
USBH_StatusTypeDef USBH_MSC_BOT_REQ_GetMaxLUN(USBH_HandleTypeDef *phost, uint8_t *Maxlun)
USBH_MSC_BOT_REQ_GetMaxLUN The function the MSC BOT GetMaxLUN request.
struct BOT_CSWTypeDef::__CSW field
struct BOT_CBWTypeDef::__CBW field
osStatus osMessagePut(osMessageQId queue_id, uint32_t info, uint32_t millisec)
Put a Message to a Queue.
uint32_t DataTransferLength
USBH_StatusTypeDef USBH_MSC_BOT_Process(USBH_HandleTypeDef *phost, uint8_t lun)
USBH_MSC_BOT_Process The function handle the BOT protocol.
USBH_ClassTypeDef * pActiveClass
USBH_StatusTypeDef USBH_MSC_BOT_REQ_Reset(USBH_HandleTypeDef *phost)
USBH_MSC_BOT_REQ_Reset The function the MSC BOT Reset request.
struct _USB_Setup::_SetupPkt_Struc b