128 lines
2.6 KiB
C
128 lines
2.6 KiB
C
/* USER CODE BEGIN Header */
|
|
/**
|
|
******************************************************************************
|
|
* @file : usbd_custom_hid_if.h
|
|
* @version : v3.0_Cube
|
|
* @brief : Header for usbd_custom_hid_if.c file.
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* Copyright (c) 2025 STMicroelectronics.
|
|
* All rights reserved.
|
|
*
|
|
* This software is licensed under terms that can be found in the LICENSE file
|
|
* in the root directory of this software component.
|
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
/* USER CODE END Header */
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
#ifndef __USBD_CUSTOM_HID_IF_H__
|
|
#define __USBD_CUSTOM_HID_IF_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
#include "usbd_customhid.h"
|
|
|
|
/* USER CODE BEGIN INCLUDE */
|
|
|
|
/* USER CODE END INCLUDE */
|
|
|
|
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
|
|
* @brief For Usb device.
|
|
* @{
|
|
*/
|
|
|
|
/** @defgroup USBD_CUSTOM_HID USBD_CUSTOM_HID
|
|
* @brief Usb custom human interface device module.
|
|
* @{
|
|
*/
|
|
|
|
/** @defgroup USBD_CUSTOM_HID_Exported_Defines USBD_CUSTOM_HID_Exported_Defines
|
|
* @brief Defines.
|
|
* @{
|
|
*/
|
|
|
|
/* USER CODE BEGIN EXPORTED_DEFINES */
|
|
|
|
/* USER CODE END EXPORTED_DEFINES */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/** @defgroup USBD_CUSTOM_HID_Exported_Types USBD_CUSTOM_HID_Exported_Types
|
|
* @brief Types.
|
|
* @{
|
|
*/
|
|
|
|
/* USER CODE BEGIN EXPORTED_TYPES */
|
|
|
|
/* USER CODE END EXPORTED_TYPES */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/** @defgroup USBD_CUSTOM_HID_Exported_Macros USBD_CUSTOM_HID_Exported_Macros
|
|
* @brief Aliases.
|
|
* @{
|
|
*/
|
|
|
|
/* USER CODE BEGIN EXPORTED_MACRO */
|
|
|
|
/* USER CODE END EXPORTED_MACRO */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/** @defgroup USBD_CUSTOM_HID_Exported_Variables USBD_CUSTOM_HID_Exported_Variables
|
|
* @brief Public variables.
|
|
* @{
|
|
*/
|
|
|
|
/** CUSTOMHID Interface callback. */
|
|
extern USBD_CUSTOM_HID_ItfTypeDef USBD_CustomHID_fops_FS;
|
|
|
|
/* USER CODE BEGIN EXPORTED_VARIABLES */
|
|
|
|
/* USER CODE END EXPORTED_VARIABLES */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/** @defgroup USBD_CUSTOM_HID_Exported_FunctionsPrototype USBD_CUSTOM_HID_Exported_FunctionsPrototype
|
|
* @brief Public functions declaration.
|
|
* @{
|
|
*/
|
|
|
|
/* USER CODE BEGIN EXPORTED_FUNCTIONS */
|
|
|
|
/* USER CODE END EXPORTED_FUNCTIONS */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __USBD_CUSTOM_HID_IF_H__ */
|
|
|