Prusa MINI Firmware overview
usbd_ioreq.c File Reference

This file provides the IO requests APIs for control endpoints. More...

#include "usbd_ioreq.h"

Functions

USBD_StatusTypeDef USBD_CtlSendData (USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint16_t len)
 USBD_CtlSendData send data on the ctl pipe. More...
 
USBD_StatusTypeDef USBD_CtlContinueSendData (USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint16_t len)
 USBD_CtlContinueSendData continue sending data on the ctl pipe. More...
 
USBD_StatusTypeDef USBD_CtlPrepareRx (USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint16_t len)
 USBD_CtlPrepareRx receive data on the ctl pipe. More...
 
USBD_StatusTypeDef USBD_CtlContinueRx (USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint16_t len)
 USBD_CtlContinueRx continue receive data on the ctl pipe. More...
 
USBD_StatusTypeDef USBD_CtlSendStatus (USBD_HandleTypeDef *pdev)
 USBD_CtlSendStatus send zero lzngth packet on the ctl pipe. More...
 
USBD_StatusTypeDef USBD_CtlReceiveStatus (USBD_HandleTypeDef *pdev)
 USBD_CtlReceiveStatus receive zero lzngth packet on the ctl pipe. More...
 
uint16_t USBD_GetRxCount (USBD_HandleTypeDef *pdev, uint8_t ep_addr)
 USBD_GetRxCount returns the received data length. More...
 

Detailed Description

This file provides the IO requests APIs for control endpoints.

Author
MCD Application Team
Version
V2.4.2
Date
11-December-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.