]> mj.ucw.cz Git - home-hw.git/blob - Inc/usbd_dfu_if.h
a80925705951c6dbb956d4e48d9c20dc725472b2
[home-hw.git] / Inc / usbd_dfu_if.h
1 /**
2   ******************************************************************************
3   * @file           : usbd_dfu_if.h
4   * @brief          : Header for usbd_dfu_if.c file.
5   ******************************************************************************
6   * This notice applies to any and all portions of this file
7   * that are not between comment pairs USER CODE BEGIN and
8   * USER CODE END. Other portions of this file, whether 
9   * inserted by the user or by software development tools
10   * are owned by their respective copyright owners.
11   *
12   * Copyright (c) 2018 STMicroelectronics International N.V. 
13   * All rights reserved.
14   *
15   * Redistribution and use in source and binary forms, with or without 
16   * modification, are permitted, provided that the following conditions are met:
17   *
18   * 1. Redistribution of source code must retain the above copyright notice, 
19   *    this list of conditions and the following disclaimer.
20   * 2. Redistributions in binary form must reproduce the above copyright notice,
21   *    this list of conditions and the following disclaimer in the documentation
22   *    and/or other materials provided with the distribution.
23   * 3. Neither the name of STMicroelectronics nor the names of other 
24   *    contributors to this software may be used to endorse or promote products 
25   *    derived from this software without specific written permission.
26   * 4. This software, including modifications and/or derivative works of this 
27   *    software, must execute solely and exclusively on microcontroller or
28   *    microprocessor devices manufactured by or for STMicroelectronics.
29   * 5. Redistribution and use of this software other than as permitted under 
30   *    this license is void and will automatically terminate your rights under 
31   *    this license. 
32   *
33   * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
34   * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
35   * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
36   * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
37   * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
38   * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
39   * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
40   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 
41   * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
42   * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
43   * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
44   * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45   *
46   ******************************************************************************
47   */
48
49 /* Define to prevent recursive inclusion -------------------------------------*/
50 #ifndef __USBD_DFU_IF_H__
51 #define __USBD_DFU_IF_H__
52
53 #ifdef __cplusplus
54  extern "C" {
55 #endif
56
57 /* Includes ------------------------------------------------------------------*/
58 #include "usbd_dfu.h"
59
60 /* USER CODE BEGIN INCLUDE */
61
62 /* USER CODE END INCLUDE */
63
64 /** @addtogroup STM32_USB_DEVICE_LIBRARY
65   * @brief For Usb device.
66   * @{
67   */
68
69 /** @defgroup USBD_MEDIA USBD_MEDIA
70   * @brief Header file for the usbd_dfu_if.c file.
71   * @{
72   */
73
74 /** @defgroup USBD_MEDIA_Exported_Defines USBD_MEDIA_Exported_Defines
75   * @brief Defines.
76   * @{
77   */
78
79 /* USER CODE BEGIN EXPORTED_DEFINES */
80
81 /* USER CODE END EXPORTED_DEFINES */
82
83 /**
84   * @}
85   */
86
87 /** @defgroup USBD_MEDIA_Exported_Types USBD_MEDIA_Exported_Types
88   * @brief Types.
89   * @{
90   */
91
92 /* USER CODE BEGIN EXPORTED_TYPES */
93
94 /* USER CODE END EXPORTED_TYPES */
95
96 /**
97   * @}
98   */
99
100 /** @defgroup USBD_MEDIA_Exported_Macros USBD_MEDIA_Exported_Macros
101   * @brief Aliases.
102   * @{
103   */
104
105 /* USER CODE BEGIN EXPORTED_MACRO */
106
107 /* USER CODE END EXPORTED_MACRO */
108
109 /**
110   * @}
111   */
112
113 /** @defgroup USBD_MEDIA_Exported_Variables USBD_MEDIA_Exported_Variables
114   * @brief Public variables.
115   * @{
116   */
117
118 /** MEDIA Interface callback. */
119 extern USBD_DFU_MediaTypeDef USBD_DFU_fops_FS;
120
121 /* USER CODE BEGIN EXPORTED_VARIABLES */
122
123 /* USER CODE END EXPORTED_VARIABLES */
124
125 /**
126   * @}
127   */
128
129 /** @defgroup USBD_MEDIA_Exported_FunctionsPrototype USBD_MEDIA_Exported_FunctionsPrototype
130   * @brief Public functions declaration.
131   * @{
132   */
133
134 /* USER CODE BEGIN EXPORTED_FUNCTIONS */
135
136 /* USER CODE END EXPORTED_FUNCTIONS */
137
138 /**
139   * @}
140   */
141
142 /**
143   * @}
144   */
145
146 /**
147   * @}
148   */
149
150 #ifdef __cplusplus
151 }
152 #endif
153
154 #endif /* __USBD_DFU_IF_H__ */
155
156 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/