Subversion Repositories LedShow

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /* USER CODE BEGIN Header */
  2. /**
  3.   ******************************************************************************
  4.   * @file           : usbd_cdc_if.h
  5.   * @version        : v2.0_Cube
  6.   * @brief          : Header for usbd_cdc_if.c file.
  7.   ******************************************************************************
  8.   * @attention
  9.   *
  10.   * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
  11.   * All rights reserved.</center></h2>
  12.   *
  13.   * This software component is licensed by ST under Ultimate Liberty license
  14.   * SLA0044, the "License"; You may not use this file except in compliance with
  15.   * the License. You may obtain a copy of the License at:
  16.   *                             www.st.com/SLA0044
  17.   *
  18.   ******************************************************************************
  19.   */
  20. /* USER CODE END Header */
  21.  
  22. /* Define to prevent recursive inclusion -------------------------------------*/
  23. #ifndef __USBD_CDC_IF_H__
  24. #define __USBD_CDC_IF_H__
  25.  
  26. #ifdef __cplusplus
  27.  extern "C" {
  28. #endif
  29.  
  30. /* Includes ------------------------------------------------------------------*/
  31. #include "usbd_cdc.h"
  32.  
  33. /* USER CODE BEGIN INCLUDE */
  34.  
  35. /* USER CODE END INCLUDE */
  36.  
  37. /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
  38.   * @brief For Usb device.
  39.   * @{
  40.   */
  41.  
  42. /** @defgroup USBD_CDC_IF USBD_CDC_IF
  43.   * @brief Usb VCP device module
  44.   * @{
  45.   */
  46.  
  47. /** @defgroup USBD_CDC_IF_Exported_Defines USBD_CDC_IF_Exported_Defines
  48.   * @brief Defines.
  49.   * @{
  50.   */
  51. /* USER CODE BEGIN EXPORTED_DEFINES */
  52.  
  53. /* USER CODE END EXPORTED_DEFINES */
  54.  
  55. /**
  56.   * @}
  57.   */
  58.  
  59. /** @defgroup USBD_CDC_IF_Exported_Types USBD_CDC_IF_Exported_Types
  60.   * @brief Types.
  61.   * @{
  62.   */
  63.  
  64. /* USER CODE BEGIN EXPORTED_TYPES */
  65.  
  66. /* USER CODE END EXPORTED_TYPES */
  67.  
  68. /**
  69.   * @}
  70.   */
  71.  
  72. /** @defgroup USBD_CDC_IF_Exported_Macros USBD_CDC_IF_Exported_Macros
  73.   * @brief Aliases.
  74.   * @{
  75.   */
  76.  
  77. /* USER CODE BEGIN EXPORTED_MACRO */
  78.  
  79. /* USER CODE END EXPORTED_MACRO */
  80.  
  81. /**
  82.   * @}
  83.   */
  84.  
  85. /** @defgroup USBD_CDC_IF_Exported_Variables USBD_CDC_IF_Exported_Variables
  86.   * @brief Public variables.
  87.   * @{
  88.   */
  89.  
  90. /** CDC Interface callback. */
  91. extern USBD_CDC_ItfTypeDef USBD_Interface_fops_FS;
  92.  
  93. /* USER CODE BEGIN EXPORTED_VARIABLES */
  94.  
  95. /* USER CODE END EXPORTED_VARIABLES */
  96.  
  97. /**
  98.   * @}
  99.   */
  100.  
  101. /** @defgroup USBD_CDC_IF_Exported_FunctionsPrototype USBD_CDC_IF_Exported_FunctionsPrototype
  102.   * @brief Public functions declaration.
  103.   * @{
  104.   */
  105.  
  106. uint8_t CDC_Transmit_FS(uint8_t* Buf, uint16_t Len);
  107.  
  108. /* USER CODE BEGIN EXPORTED_FUNCTIONS */
  109.  
  110. /* USER CODE END EXPORTED_FUNCTIONS */
  111.  
  112. /**
  113.   * @}
  114.   */
  115.  
  116. /**
  117.   * @}
  118.   */
  119.  
  120. /**
  121.   * @}
  122.   */
  123.  
  124. #ifdef __cplusplus
  125. }
  126. #endif
  127.  
  128. #endif /* __USBD_CDC_IF_H__ */
  129.  
  130. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
  131.