usbd_custom_hid_if.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /* USER CODE BEGIN Header */
  2. /**
  3. ******************************************************************************
  4. * @file : usbd_custom_hid_if.h
  5. * @version : v2.0_Cube
  6. * @brief : Header for usbd_custom_hid_if.c file.
  7. ******************************************************************************
  8. * @attention
  9. *
  10. * Copyright (c) 2024 STMicroelectronics.
  11. * All rights reserved.
  12. *
  13. * This software is licensed under terms that can be found in the LICENSE file
  14. * in the root directory of this software component.
  15. * If no LICENSE file comes with this software, it is provided AS-IS.
  16. *
  17. ******************************************************************************
  18. */
  19. /* USER CODE END Header */
  20. /* Define to prevent recursive inclusion -------------------------------------*/
  21. #ifndef __USBD_CUSTOM_HID_IF_H__
  22. #define __USBD_CUSTOM_HID_IF_H__
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. /* Includes ------------------------------------------------------------------*/
  27. #include "usbd_customhid.h"
  28. /* USER CODE BEGIN INCLUDE */
  29. /* USER CODE END INCLUDE */
  30. /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
  31. * @brief For Usb device.
  32. * @{
  33. */
  34. /** @defgroup USBD_CUSTOM_HID USBD_CUSTOM_HID
  35. * @brief Usb custom human interface device module.
  36. * @{
  37. */
  38. /** @defgroup USBD_CUSTOM_HID_Exported_Defines USBD_CUSTOM_HID_Exported_Defines
  39. * @brief Defines.
  40. * @{
  41. */
  42. /* USER CODE BEGIN EXPORTED_DEFINES */
  43. /* USER CODE END EXPORTED_DEFINES */
  44. /**
  45. * @}
  46. */
  47. /** @defgroup USBD_CUSTOM_HID_Exported_Types USBD_CUSTOM_HID_Exported_Types
  48. * @brief Types.
  49. * @{
  50. */
  51. /* USER CODE BEGIN EXPORTED_TYPES */
  52. /* USER CODE END EXPORTED_TYPES */
  53. /**
  54. * @}
  55. */
  56. /** @defgroup USBD_CUSTOM_HID_Exported_Macros USBD_CUSTOM_HID_Exported_Macros
  57. * @brief Aliases.
  58. * @{
  59. */
  60. /* USER CODE BEGIN EXPORTED_MACRO */
  61. /* USER CODE END EXPORTED_MACRO */
  62. /**
  63. * @}
  64. */
  65. /** @defgroup USBD_CUSTOM_HID_Exported_Variables USBD_CUSTOM_HID_Exported_Variables
  66. * @brief Public variables.
  67. * @{
  68. */
  69. /** CUSTOMHID Interface callback. */
  70. extern USBD_CUSTOM_HID_ItfTypeDef USBD_CustomHID_fops_FS;
  71. /* USER CODE BEGIN EXPORTED_VARIABLES */
  72. /* USER CODE END EXPORTED_VARIABLES */
  73. /**
  74. * @}
  75. */
  76. /** @defgroup USBD_CUSTOM_HID_Exported_FunctionsPrototype USBD_CUSTOM_HID_Exported_FunctionsPrototype
  77. * @brief Public functions declaration.
  78. * @{
  79. */
  80. /* USER CODE BEGIN EXPORTED_FUNCTIONS */
  81. /* USER CODE END EXPORTED_FUNCTIONS */
  82. /**
  83. * @}
  84. */
  85. /**
  86. * @}
  87. */
  88. /**
  89. * @}
  90. */
  91. #ifdef __cplusplus
  92. }
  93. #endif
  94. #endif /* __USBD_CUSTOM_HID_IF_H__ */