Subversion Repositories LedShow

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 mjames 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 mjames 9
  * <h2><center>&copy; Copyright (c) 2015 STMicroelectronics.
10
  * All rights reserved.</center></h2>
2 mjames 11
  *
9 mjames 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
2 mjames 16
  *
17
  ******************************************************************************
9 mjames 18
  */
2 mjames 19
 
20
/* Define to prevent recursive inclusion -------------------------------------*/
21
#ifndef __USBD_IOREQ_H
22
#define __USBD_IOREQ_H
23
 
24
#ifdef __cplusplus
9 mjames 25
extern "C" {
2 mjames 26
#endif
27
 
28
/* Includes ------------------------------------------------------------------*/
29
#include  "usbd_def.h"
30
#include  "usbd_core.h"
31
 
32
/** @addtogroup STM32_USB_DEVICE_LIBRARY
33
  * @{
34
  */
9 mjames 35
 
2 mjames 36
/** @defgroup USBD_IOREQ
37
  * @brief header file for the usbd_ioreq.c file
38
  * @{
9 mjames 39
  */
2 mjames 40
 
41
/** @defgroup USBD_IOREQ_Exported_Defines
42
  * @{
9 mjames 43
  */
2 mjames 44
/**
45
  * @}
9 mjames 46
  */
2 mjames 47
 
48
 
49
/** @defgroup USBD_IOREQ_Exported_Types
50
  * @{
51
  */
52
 
53
 
54
/**
55
  * @}
9 mjames 56
  */
2 mjames 57
 
58
 
59
 
60
/** @defgroup USBD_IOREQ_Exported_Macros
61
  * @{
9 mjames 62
  */
2 mjames 63
 
64
/**
65
  * @}
9 mjames 66
  */
2 mjames 67
 
68
/** @defgroup USBD_IOREQ_Exported_Variables
69
  * @{
9 mjames 70
  */
2 mjames 71
 
72
/**
73
  * @}
9 mjames 74
  */
2 mjames 75
 
76
/** @defgroup USBD_IOREQ_Exported_FunctionsPrototype
77
  * @{
9 mjames 78
  */
2 mjames 79
 
9 mjames 80
USBD_StatusTypeDef  USBD_CtlSendData(USBD_HandleTypeDef *pdev,
81
                                     uint8_t *pbuf,
82
                                     uint16_t len);
2 mjames 83
 
9 mjames 84
USBD_StatusTypeDef  USBD_CtlContinueSendData(USBD_HandleTypeDef  *pdev,
85
                                             uint8_t *pbuf,
86
                                             uint16_t len);
2 mjames 87
 
9 mjames 88
USBD_StatusTypeDef USBD_CtlPrepareRx(USBD_HandleTypeDef  *pdev,
89
                                     uint8_t *pbuf,
90
                                     uint16_t len);
2 mjames 91
 
9 mjames 92
USBD_StatusTypeDef  USBD_CtlContinueRx(USBD_HandleTypeDef  *pdev,
93
                                       uint8_t *pbuf,
94
                                       uint16_t len);
2 mjames 95
 
9 mjames 96
USBD_StatusTypeDef  USBD_CtlSendStatus(USBD_HandleTypeDef  *pdev);
2 mjames 97
 
9 mjames 98
USBD_StatusTypeDef  USBD_CtlReceiveStatus(USBD_HandleTypeDef  *pdev);
2 mjames 99
 
9 mjames 100
uint32_t  USBD_GetRxCount(USBD_HandleTypeDef *pdev, uint8_t ep_addr);
2 mjames 101
 
102
/**
103
  * @}
9 mjames 104
  */
2 mjames 105
 
106
#ifdef __cplusplus
107
}
108
#endif
109
 
110
#endif /* __USBD_IOREQ_H */
111
 
112
/**
113
  * @}
9 mjames 114
  */
2 mjames 115
 
116
/**
117
* @}
9 mjames 118
*/
2 mjames 119
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/