Subversion Repositories dashGPS

Rev

Rev 16 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /**
  2.   ******************************************************************************
  3.   * @file    usbd_ioreq.h
  4.   * @author  MCD Application Team
  5.   * @brief   Header file for the usbd_ioreq.c file
  6.   ******************************************************************************
  7.   * @attention
  8.   *
  9.   * <h2><center>&copy; Copyright (c) 2015 STMicroelectronics.
  10.   * All rights reserved.</center></h2>
  11.   *
  12.   * This software component is licensed by ST under Ultimate Liberty license
  13.   * SLA0044, the "License"; You may not use this file except in compliance with
  14.   * the License. You may obtain a copy of the License at:
  15.   *                      www.st.com/SLA0044
  16.   *
  17.   ******************************************************************************
  18.   */
  19.  
  20. /* Define to prevent recursive inclusion -------------------------------------*/
  21. #ifndef __USBD_IOREQ_H
  22. #define __USBD_IOREQ_H
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. /* Includes ------------------------------------------------------------------*/
  29. #include  "usbd_def.h"
  30. #include  "usbd_core.h"
  31.  
  32. /** @addtogroup STM32_USB_DEVICE_LIBRARY
  33.   * @{
  34.   */
  35.  
  36. /** @defgroup USBD_IOREQ
  37.   * @brief header file for the usbd_ioreq.c file
  38.   * @{
  39.   */
  40.  
  41. /** @defgroup USBD_IOREQ_Exported_Defines
  42.   * @{
  43.   */
  44. /**
  45.   * @}
  46.   */
  47.  
  48.  
  49. /** @defgroup USBD_IOREQ_Exported_Types
  50.   * @{
  51.   */
  52.  
  53.  
  54. /**
  55.   * @}
  56.   */
  57.  
  58.  
  59.  
  60. /** @defgroup USBD_IOREQ_Exported_Macros
  61.   * @{
  62.   */
  63.  
  64. /**
  65.   * @}
  66.   */
  67.  
  68. /** @defgroup USBD_IOREQ_Exported_Variables
  69.   * @{
  70.   */
  71.  
  72. /**
  73.   * @}
  74.   */
  75.  
  76. /** @defgroup USBD_IOREQ_Exported_FunctionsPrototype
  77.   * @{
  78.   */
  79.  
  80. USBD_StatusTypeDef  USBD_CtlSendData(USBD_HandleTypeDef *pdev,
  81.                                      uint8_t *pbuf,
  82.                                      uint16_t len);
  83.  
  84. USBD_StatusTypeDef  USBD_CtlContinueSendData(USBD_HandleTypeDef  *pdev,
  85.                                              uint8_t *pbuf,
  86.                                              uint16_t len);
  87.  
  88. USBD_StatusTypeDef USBD_CtlPrepareRx(USBD_HandleTypeDef  *pdev,
  89.                                      uint8_t *pbuf,
  90.                                      uint16_t len);
  91.  
  92. USBD_StatusTypeDef  USBD_CtlContinueRx(USBD_HandleTypeDef  *pdev,
  93.                                        uint8_t *pbuf,
  94.                                        uint16_t len);
  95.  
  96. USBD_StatusTypeDef  USBD_CtlSendStatus(USBD_HandleTypeDef  *pdev);
  97.  
  98. USBD_StatusTypeDef  USBD_CtlReceiveStatus(USBD_HandleTypeDef  *pdev);
  99.  
  100. uint32_t  USBD_GetRxCount(USBD_HandleTypeDef *pdev, uint8_t ep_addr);
  101.  
  102. /**
  103.   * @}
  104.   */
  105.  
  106. #ifdef __cplusplus
  107. }
  108. #endif
  109.  
  110. #endif /* __USBD_IOREQ_H */
  111.  
  112. /**
  113.   * @}
  114.   */
  115.  
  116. /**
  117. * @}
  118. */
  119. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
  120.