USB CDC library for MBED on STM32
Embed:
(wiki syntax)
Show/hide line numbers
usbd_desc.h
Go to the documentation of this file.
00001 /** 00002 ****************************************************************************** 00003 * @file usbd_desc.h 00004 * @author MCD Application Team 00005 * @brief header file for the usbd_desc.c file 00006 ****************************************************************************** 00007 * @attention 00008 * 00009 * <h2><center>© Copyright (c) 2017 STMicroelectronics International N.V. 00010 * All rights reserved.</center></h2> 00011 * 00012 * Redistribution and use in source and binary forms, with or without 00013 * modification, are permitted, provided that the following conditions are met: 00014 * 00015 * 1. Redistribution of source code must retain the above copyright notice, 00016 * this list of conditions and the following disclaimer. 00017 * 2. Redistributions in binary form must reproduce the above copyright notice, 00018 * this list of conditions and the following disclaimer in the documentation 00019 * and/or other materials provided with the distribution. 00020 * 3. Neither the name of STMicroelectronics nor the names of other 00021 * contributors to this software may be used to endorse or promote products 00022 * derived from this software without specific written permission. 00023 * 4. This software, including modifications and/or derivative works of this 00024 * software, must execute solely and exclusively on microcontroller or 00025 * microprocessor devices manufactured by or for STMicroelectronics. 00026 * 5. Redistribution and use of this software other than as permitted under 00027 * this license is void and will automatically terminate your rights under 00028 * this license. 00029 * 00030 * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 00031 * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 00032 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 00033 * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY 00034 * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 00035 * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00036 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 00037 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 00038 * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 00039 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 00040 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 00041 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00042 * 00043 ****************************************************************************** 00044 */ 00045 00046 /* Define to prevent recursive inclusion -------------------------------------*/ 00047 00048 #ifndef __USB_DESC_H 00049 #define __USB_DESC_H 00050 00051 /* Includes ------------------------------------------------------------------*/ 00052 #include "usbd_def.h" 00053 00054 /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY 00055 * @{ 00056 */ 00057 00058 /** @defgroup USB_DESC 00059 * @brief general defines for the usb device library file 00060 * @{ 00061 */ 00062 00063 /** @defgroup USB_DESC_Exported_Defines 00064 * @{ 00065 */ 00066 00067 /** 00068 * @} 00069 */ 00070 00071 00072 /** @defgroup USBD_DESC_Exported_TypesDefinitions 00073 * @{ 00074 */ 00075 /** 00076 * @} 00077 */ 00078 00079 00080 00081 /** @defgroup USBD_DESC_Exported_Macros 00082 * @{ 00083 */ 00084 /** 00085 * @} 00086 */ 00087 00088 /** @defgroup USBD_DESC_Exported_Variables 00089 * @{ 00090 */ 00091 extern USBD_DescriptorsTypeDef USB_Desc; 00092 /** 00093 * @} 00094 */ 00095 00096 /** @defgroup USBD_DESC_Exported_FunctionsPrototype 00097 * @{ 00098 */ 00099 00100 00101 00102 00103 /** 00104 * @} 00105 */ 00106 00107 #endif /* __USBD_DESC_H */ 00108 00109 /** 00110 * @} 00111 */ 00112 00113 /** 00114 * @} 00115 */ 00116 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 00117
Generated on Thu Jul 14 2022 15:47:45 by 1.7.2