Subversion Repositories dashGPS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /**
  2.   ******************************************************************************
  3.   * @file    usbd_desc_template.h
  4.   * @author  MCD Application Team
  5.   * @brief   Header for usbd_desc_template.c module
  6.   ******************************************************************************
  7.   * @attention
  8.   *
  9.   * <h2><center>&copy; Copyright (c) 2015 STMicroelectronics.
  10.   * All rights reserved.</center></h2>
  11.   *
  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
  16.   *
  17.   ******************************************************************************
  18.   */
  19.  
  20. /* Define to prevent recursive inclusion -------------------------------------*/
  21. #ifndef __USBD_DESC_TEMPLATE_H
  22. #define __USBD_DESC_TEMPLATE_H
  23.  
  24. /* Includes ------------------------------------------------------------------*/
  25. #include "usbd_def.h"
  26.  
  27. /* Exported types ------------------------------------------------------------*/
  28. /* Exported constants --------------------------------------------------------*/
  29. #define         DEVICE_ID1          (0x1FFF7A10)
  30. #define         DEVICE_ID2          (0x1FFF7A14)
  31. #define         DEVICE_ID3          (0x1FFF7A18)
  32.  
  33. #define  USB_SIZ_STRING_SERIAL       0x1A
  34.  
  35. /* Exported macro ------------------------------------------------------------*/
  36. /* Exported functions ------------------------------------------------------- */
  37. extern USBD_DescriptorsTypeDef XXX_Desc; /* Replace 'XXX_Desc' with your active USB device class, ex: HID_Desc */
  38.  
  39. #endif /* __USBD_DESC_TEMPLATE_H*/
  40.  
  41. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
  42.