Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG_patch mbed-rtos mbed
USBH_MSC_BOT_Private_Functions
[USBH_MSC_BOT]
Functions | |
| USBH_StatusTypeDef | USBH_MSC_BOT_REQ_Reset (USBH_HandleTypeDef *phost) |
| USBH_MSC_BOT_REQ_Reset The function the MSC BOT Reset request. | |
| 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. | |
| USBH_StatusTypeDef | USBH_MSC_BOT_Init (USBH_HandleTypeDef *phost) |
| USBH_MSC_BOT_Init The function Initializes the BOT protocol. | |
| USBH_StatusTypeDef | USBH_MSC_BOT_Process (USBH_HandleTypeDef *phost, uint8_t lun) |
| USBH_MSC_BOT_Process The function handle the BOT protocol. | |
| static USBH_StatusTypeDef | USBH_MSC_BOT_Abort (USBH_HandleTypeDef *phost, uint8_t lun, uint8_t dir) |
| USBH_MSC_BOT_Abort The function handle the BOT Abort process. | |
| static BOT_CSWStatusTypeDef | USBH_MSC_DecodeCSW (USBH_HandleTypeDef *phost) |
| USBH_MSC_BOT_DecodeCSW This function decodes the CSW received by the device and updates the same to upper layer. | |
Function Documentation
| static USBH_StatusTypeDef USBH_MSC_BOT_Abort | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | lun, | ||
| uint8_t | dir | ||
| ) | [static] |
USBH_MSC_BOT_Abort The function handle the BOT Abort process.
- Parameters:
-
phost,: Host handle lun,: Logical Unit Number dir,: direction (0: out / 1 : in)
- Return values:
-
USBH Status
Definition at line 475 of file usbh_msc_bot.c.
| USBH_StatusTypeDef USBH_MSC_BOT_Init | ( | USBH_HandleTypeDef * | phost ) |
USBH_MSC_BOT_Init The function Initializes the BOT protocol.
- Parameters:
-
phost,: Host handle
- Return values:
-
USBH Status
Definition at line 151 of file usbh_msc_bot.c.
| USBH_StatusTypeDef USBH_MSC_BOT_Process | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | lun | ||
| ) |
USBH_MSC_BOT_Process The function handle the BOT protocol.
- Parameters:
-
phost,: Host handle lun,: Logical Unit Number
- Return values:
-
USBH Status
Definition at line 173 of file usbh_msc_bot.c.
| 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.
- Parameters:
-
phost,: Host handle Maxlun,: pointer to Maxlun variable
- Return values:
-
USBH Status
Definition at line 130 of file usbh_msc_bot.c.
| USBH_StatusTypeDef USBH_MSC_BOT_REQ_Reset | ( | USBH_HandleTypeDef * | phost ) |
USBH_MSC_BOT_REQ_Reset The function the MSC BOT Reset request.
- Parameters:
-
phost,: Host handle
- Return values:
-
USBH Status
Definition at line 109 of file usbh_msc_bot.c.
| static BOT_CSWStatusTypeDef USBH_MSC_DecodeCSW | ( | USBH_HandleTypeDef * | phost ) | [static] |
USBH_MSC_BOT_DecodeCSW This function decodes the CSW received by the device and updates the same to upper layer.
- Parameters:
-
phost,: Host handle
- Return values:
-
USBH Status Refer to USB Mass-Storage Class : BOT (www.usb.org) 6.3.1 Valid CSW Conditions : The host shall consider the CSW valid when: 1. dCSWSignature is equal to 53425355h 2. the CSW is 13 (Dh) bytes in length, 3. dCSWTag matches the dCBWTag from the corresponding CBW.
Definition at line 514 of file usbh_msc_bot.c.
Generated on Tue Jul 12 2022 14:58:51 by
1.7.2