GD32F1x0: USB/GD32_USB_Device_Library/Class/hid_cdc_wrapper/inc/usbd_hid_cdc_wrapper.h Source File From GD32F1x0 previous page next page GD32F1x0 Main Page Modules Data Structures Files File List Globals USBGD32_USB_Device_LibraryClasshid_cdc_wrapperinc 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****/ _Device_Class_cbUSB device class callback type define. Definition: usb_core.h:153 usbd_cdc_core.hHeader file for the usbd_cdc_core.c file. usbd_custom_hid_core.hCustom HID device class core defines. Generated by 1.8.10 previous page start next page