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_req.h
4
  * @author  MCD Application Team
5
  * @brief   Header file for the usbd_req.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 __USB_REQUEST_H
22
#define __USB_REQUEST_H
23
 
24
#ifdef __cplusplus
9 mjames 25
extern "C" {
2 mjames 26
#endif
27
 
28
/* Includes ------------------------------------------------------------------*/
29
#include  "usbd_def.h"
30
 
31
 
32
/** @addtogroup STM32_USB_DEVICE_LIBRARY
33
  * @{
34
  */
9 mjames 35
 
2 mjames 36
/** @defgroup USBD_REQ
37
  * @brief header file for the usbd_req.c file
38
  * @{
9 mjames 39
  */
2 mjames 40
 
41
/** @defgroup USBD_REQ_Exported_Defines
42
  * @{
9 mjames 43
  */
2 mjames 44
/**
45
  * @}
9 mjames 46
  */
2 mjames 47
 
48
 
49
/** @defgroup USBD_REQ_Exported_Types
50
  * @{
51
  */
52
/**
53
  * @}
9 mjames 54
  */
2 mjames 55
 
56
 
57
 
58
/** @defgroup USBD_REQ_Exported_Macros
59
  * @{
9 mjames 60
  */
2 mjames 61
/**
62
  * @}
9 mjames 63
  */
2 mjames 64
 
65
/** @defgroup USBD_REQ_Exported_Variables
66
  * @{
9 mjames 67
  */
2 mjames 68
/**
69
  * @}
9 mjames 70
  */
2 mjames 71
 
72
/** @defgroup USBD_REQ_Exported_FunctionsPrototype
73
  * @{
9 mjames 74
  */
2 mjames 75
 
9 mjames 76
USBD_StatusTypeDef  USBD_StdDevReq(USBD_HandleTypeDef  *pdev, USBD_SetupReqTypedef  *req);
77
USBD_StatusTypeDef  USBD_StdItfReq(USBD_HandleTypeDef  *pdev, USBD_SetupReqTypedef  *req);
78
USBD_StatusTypeDef  USBD_StdEPReq(USBD_HandleTypeDef  *pdev, USBD_SetupReqTypedef  *req);
2 mjames 79
 
80
 
9 mjames 81
void USBD_CtlError(USBD_HandleTypeDef  *pdev, USBD_SetupReqTypedef *req);
2 mjames 82
 
9 mjames 83
void USBD_ParseSetupRequest(USBD_SetupReqTypedef *req, uint8_t *pdata);
2 mjames 84
 
9 mjames 85
void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len);
2 mjames 86
/**
87
  * @}
9 mjames 88
  */
2 mjames 89
 
90
#ifdef __cplusplus
91
}
92
#endif
93
 
94
#endif /* __USB_REQUEST_H */
95
 
96
/**
97
  * @}
9 mjames 98
  */
2 mjames 99
 
100
/**
101
* @}
9 mjames 102
*/
2 mjames 103
 
104
 
105
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/