Prusa MINI Firmware overview
usbh_pipes.c File Reference

This file implements functions for opening and closing Pipes. More...

#include "usbh_pipes.h"

Functions

static uint16_t USBH_GetFreePipe (USBH_HandleTypeDef *phost)
 USBH_GetFreePipe. More...
 
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

This file implements functions for opening and closing Pipes.

Author
MCD Application Team
Version
V3.2.2
Date
07-July-2015
Attention

© COPYRIGHT 2015 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.