GD32F1x0: USB/GD32_USB_Device_Library/Class/hid_cdc_wrapper/inc/usbd_hid_cdc_wrapper.h Source File

GD32F1x0

usbd_hid_cdc_wrapper.h
Go to the documentation of this file.
1 
11 /* Define to prevent recursive inclusion -------------------------------------*/
12 #ifndef __GD32F1X0_USB_HID_CDC_WRAPPER_H
13 #define __GD32F1X0_USB_HID_CDC_WRAPPER_H
14 
15 /* Includes ------------------------------------------------------------------*/
16 #include "usbd_custom_hid_core.h"
17 #include "usbd_cdc_core.h"
18 
19 /* Exported defines ----------------------------------------------------------*/
20 #define HID_INTERFACE 0x00
21 #define CDC_COM_INTERFACE 0x01
22 
23 /* Exported macros -----------------------------------------------------------*/
24 #define USB_HID_CDC_CONFIG_DESC_SIZE (CUSTOMHID_CONFIG_DESC_SIZE - 9 + USB_CDC_CONFIG_DESC_SIZE + 8)
25 
26 /* Exported variables --------------------------------------------------------*/
27 extern USBD_Class_cb_TypeDef USBD_HID_CDC_cb;
28 
29 #endif /* __GD32F1X0_USB_HID_CDC_WRAPPER_H_ */
30 
31 /************************ (C) COPYRIGHT 2014 GIGADEVICE *****END OF FILE****/
USB device class callback type define.
Definition: usb_core.h:153
Header file for the usbd_cdc_core.c file.
Custom HID device class core defines.
Generated by   doxygen 1.8.10