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_PIPES_Private_Functions
[USBH_PIPES]
Functions | |
| static uint16_t | USBH_GetFreePipe (USBH_HandleTypeDef *phost) |
| USBH_GetFreePipe. | |
| USBH_StatusTypeDef | USBH_OpenPipe (USBH_HandleTypeDef *phost, uint8_t pipe_num, uint8_t epnum, uint8_t dev_address, uint8_t speed, uint8_t ep_type, uint16_t mps) |
| USBH_Open_Pipe Open a pipe. | |
| USBH_StatusTypeDef | USBH_ClosePipe (USBH_HandleTypeDef *phost, uint8_t pipe_num) |
| USBH_ClosePipe Close a pipe. | |
| uint8_t | USBH_AllocPipe (USBH_HandleTypeDef *phost, uint8_t ep_addr) |
| USBH_Alloc_Pipe Allocate a new Pipe. | |
| USBH_StatusTypeDef | USBH_FreePipe (USBH_HandleTypeDef *phost, uint8_t idx) |
| USBH_Free_Pipe Free the USB Pipe. | |
Function Documentation
| uint8_t USBH_AllocPipe | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | ep_addr | ||
| ) |
USBH_Alloc_Pipe Allocate a new Pipe.
- Parameters:
-
phost,: Host Handle ep_addr,: End point for which the Pipe to be allocated
- Return values:
-
Pipe number
Definition at line 138 of file usbh_pipes.c.
| USBH_StatusTypeDef USBH_ClosePipe | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | pipe_num | ||
| ) |
USBH_ClosePipe Close a pipe.
- Parameters:
-
phost,: Host Handle pipe_num,: Pipe Number
- Return values:
-
USBH Status
Definition at line 121 of file usbh_pipes.c.
| USBH_StatusTypeDef USBH_FreePipe | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | idx | ||
| ) |
USBH_Free_Pipe Free the USB Pipe.
- Parameters:
-
phost,: Host Handle idx,: Pipe number to be freed
- Return values:
-
USBH Status
Definition at line 158 of file usbh_pipes.c.
| static uint16_t USBH_GetFreePipe | ( | USBH_HandleTypeDef * | phost ) | [static] |
USBH_GetFreePipe.
- Parameters:
-
phost,: Host Handle Get a free Pipe number for allocation to a device endpoint
- Return values:
-
idx,: Free Pipe number
Definition at line 173 of file usbh_pipes.c.
| USBH_StatusTypeDef USBH_OpenPipe | ( | USBH_HandleTypeDef * | phost, |
| uint8_t | pipe_num, | ||
| uint8_t | epnum, | ||
| uint8_t | dev_address, | ||
| uint8_t | speed, | ||
| uint8_t | ep_type, | ||
| uint16_t | mps | ||
| ) |
USBH_Open_Pipe Open a pipe.
- Parameters:
-
phost,: Host Handle pipe_num,: Pipe Number dev_address,: USB Device address allocated to attached device speed : USB device speed (Full/Low) ep_type,: end point type (Bulk/int/ctl) mps,: max pkt size
- Return values:
-
USBH Status
Definition at line 93 of file usbh_pipes.c.
Generated on Tue Jul 12 2022 14:58:53 by
1.7.2