MCU driver/HAL for the Picocell Gateway concentrator board. The firmware implements either a USB CDC protocol or a UART protocol to bridge commands coming from host to the SX1308 SPI interface.

Committer:
dgabino
Date:
Wed Apr 11 14:42:47 2018 +0000
Revision:
0:c76361bd82e8
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dgabino 0:c76361bd82e8 1 /**
dgabino 0:c76361bd82e8 2 ******************************************************************************
dgabino 0:c76361bd82e8 3 * @file : usbd_desc.h
dgabino 0:c76361bd82e8 4 * @version : v1.0_Cube
dgabino 0:c76361bd82e8 5 * @brief : Header for usbd_desc file.
dgabino 0:c76361bd82e8 6 ******************************************************************************
dgabino 0:c76361bd82e8 7 * COPYRIGHT(c) 2016 STMicroelectronics
dgabino 0:c76361bd82e8 8 *
dgabino 0:c76361bd82e8 9 * Redistribution and use in source and binary forms, with or without modification,
dgabino 0:c76361bd82e8 10 * are permitted provided that the following conditions are met:
dgabino 0:c76361bd82e8 11 * 1. Redistributions of source code must retain the above copyright notice,
dgabino 0:c76361bd82e8 12 * this list of conditions and the following disclaimer.
dgabino 0:c76361bd82e8 13 * 2. Redistributions in binary form must reproduce the above copyright notice,
dgabino 0:c76361bd82e8 14 * this list of conditions and the following disclaimer in the documentation
dgabino 0:c76361bd82e8 15 * and/or other materials provided with the distribution.
dgabino 0:c76361bd82e8 16 * 3. Neither the name of STMicroelectronics nor the names of its contributors
dgabino 0:c76361bd82e8 17 * may be used to endorse or promote products derived from this software
dgabino 0:c76361bd82e8 18 * without specific prior written permission.
dgabino 0:c76361bd82e8 19 *
dgabino 0:c76361bd82e8 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
dgabino 0:c76361bd82e8 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
dgabino 0:c76361bd82e8 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
dgabino 0:c76361bd82e8 23 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
dgabino 0:c76361bd82e8 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
dgabino 0:c76361bd82e8 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
dgabino 0:c76361bd82e8 26 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
dgabino 0:c76361bd82e8 27 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
dgabino 0:c76361bd82e8 28 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
dgabino 0:c76361bd82e8 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
dgabino 0:c76361bd82e8 30 *
dgabino 0:c76361bd82e8 31 ******************************************************************************
dgabino 0:c76361bd82e8 32 */
dgabino 0:c76361bd82e8 33
dgabino 0:c76361bd82e8 34 /* Define to prevent recursive inclusion -------------------------------------*/
dgabino 0:c76361bd82e8 35 #ifndef __USBD_DESC__H__
dgabino 0:c76361bd82e8 36 #define __USBD_DESC__H__
dgabino 0:c76361bd82e8 37
dgabino 0:c76361bd82e8 38 #ifdef __cplusplus
dgabino 0:c76361bd82e8 39 extern "C" {
dgabino 0:c76361bd82e8 40 #endif
dgabino 0:c76361bd82e8 41 /* Includes ------------------------------------------------------------------*/
dgabino 0:c76361bd82e8 42 #include "usbd_def.h"
dgabino 0:c76361bd82e8 43
dgabino 0:c76361bd82e8 44 /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
dgabino 0:c76361bd82e8 45 * @{
dgabino 0:c76361bd82e8 46 */
dgabino 0:c76361bd82e8 47
dgabino 0:c76361bd82e8 48 /** @defgroup USB_DESC
dgabino 0:c76361bd82e8 49 * @brief general defines for the usb device library file
dgabino 0:c76361bd82e8 50 * @{
dgabino 0:c76361bd82e8 51 */
dgabino 0:c76361bd82e8 52
dgabino 0:c76361bd82e8 53 /** @defgroup USB_DESC_Exported_Defines
dgabino 0:c76361bd82e8 54 * @{
dgabino 0:c76361bd82e8 55 */
dgabino 0:c76361bd82e8 56
dgabino 0:c76361bd82e8 57 /**
dgabino 0:c76361bd82e8 58 * @}
dgabino 0:c76361bd82e8 59 */
dgabino 0:c76361bd82e8 60
dgabino 0:c76361bd82e8 61 /** @defgroup USBD_DESC_Exported_TypesDefinitions
dgabino 0:c76361bd82e8 62 * @{
dgabino 0:c76361bd82e8 63 */
dgabino 0:c76361bd82e8 64 /**
dgabino 0:c76361bd82e8 65 * @}
dgabino 0:c76361bd82e8 66 */
dgabino 0:c76361bd82e8 67
dgabino 0:c76361bd82e8 68 /** @defgroup USBD_DESC_Exported_Macros
dgabino 0:c76361bd82e8 69 * @{
dgabino 0:c76361bd82e8 70 */
dgabino 0:c76361bd82e8 71 /**
dgabino 0:c76361bd82e8 72 * @}
dgabino 0:c76361bd82e8 73 */
dgabino 0:c76361bd82e8 74
dgabino 0:c76361bd82e8 75 /** @defgroup USBD_DESC_Exported_Variables
dgabino 0:c76361bd82e8 76 * @{
dgabino 0:c76361bd82e8 77 */
dgabino 0:c76361bd82e8 78 extern USBD_DescriptorsTypeDef FS_Desc;
dgabino 0:c76361bd82e8 79 /**
dgabino 0:c76361bd82e8 80 * @}
dgabino 0:c76361bd82e8 81 */
dgabino 0:c76361bd82e8 82
dgabino 0:c76361bd82e8 83 /** @defgroup USBD_DESC_Exported_FunctionsPrototype
dgabino 0:c76361bd82e8 84 * @{
dgabino 0:c76361bd82e8 85 */
dgabino 0:c76361bd82e8 86
dgabino 0:c76361bd82e8 87 /**
dgabino 0:c76361bd82e8 88 * @}
dgabino 0:c76361bd82e8 89 */
dgabino 0:c76361bd82e8 90 #ifdef __cplusplus
dgabino 0:c76361bd82e8 91 }
dgabino 0:c76361bd82e8 92 #endif
dgabino 0:c76361bd82e8 93
dgabino 0:c76361bd82e8 94 #endif /* __USBD_DESC_H */
dgabino 0:c76361bd82e8 95
dgabino 0:c76361bd82e8 96 /**
dgabino 0:c76361bd82e8 97 * @}
dgabino 0:c76361bd82e8 98 */
dgabino 0:c76361bd82e8 99
dgabino 0:c76361bd82e8 100 /**
dgabino 0:c76361bd82e8 101 * @}
dgabino 0:c76361bd82e8 102 */
dgabino 0:c76361bd82e8 103 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/