STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions
USBH_PIPES_Private_Functions

Functions

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. More...
 
USBH_StatusTypeDef USBH_ClosePipe (USBH_HandleTypeDef *phost, uint8_t pipe_num)
 USBH_ClosePipe Close a pipe. More...
 
uint8_t USBH_AllocPipe (USBH_HandleTypeDef *phost, uint8_t ep_addr)
 USBH_Alloc_Pipe Allocate a new Pipe. More...
 
USBH_StatusTypeDef USBH_FreePipe (USBH_HandleTypeDef *phost, uint8_t idx)
 USBH_Free_Pipe Free the USB Pipe. More...
 

Detailed Description

Function Documentation

uint8_t USBH_AllocPipe ( USBH_HandleTypeDef phost,
uint8_t  ep_addr 
)

USBH_Alloc_Pipe Allocate a new Pipe.

Parameters
phostHost Handle
ep_addrEnd point for which the Pipe to be allocated
Return values
Pipenumber

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
phostHost Handle
pipe_numPipe Number
Return values
USBHStatus

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
phostHost Handle
idxPipe number to be freed
Return values
USBHStatus

Definition at line 158 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
phostHost Handle
pipe_numPipe Number
dev_addressUSB Device address allocated to attached device
speed: USB device speed (Full/Low)
ep_typeend point type (Bulk/int/ctl)
mpsmax pkt size
Return values
USBHStatus

Definition at line 93 of file usbh_pipes.c.