GD32F1x0: USB/GD32_USB_Device_Library/Class/cdc_printer_wrapper/inc/usbd_printer_cdc_wrapper.h Source File

GD32F1x0

usbd_printer_cdc_wrapper.h
Go to the documentation of this file.
1 
11 /* Define to prevent recursive inclusion -------------------------------------*/
12 #ifndef __GD32F1X0_USB_PRINTER_CDC_WRAPPER_H
13 #define __GD32F1X0_USB_PRINTER_CDC_WRAPPER_H
14 
15 /* Includes ------------------------------------------------------------------*/
16 #include "usbd_printer_core.h"
17 #include "usbd_cdc_core.h"
18 
19 /* Exported defines ----------------------------------------------------------*/
20 #define PRINTER_INTERFACE 0x00
21 #define CDC_COM_INTERFACE 0x01
22 
23 /* Exported macros -----------------------------------------------------------*/
24 #define USB_PRINTER_CDC_CONFIG_DESC_SIZE (USB_PRINTER_CONFIG_DESC_SIZE - 9 + \
25  USB_CDC_CONFIG_DESC_SIZE + 8)
26 
27 /* Exported variables --------------------------------------------------------*/
28 extern USBD_Class_cb_TypeDef USBD_PRINTER_CDC_cb;
29 
30 #endif /* __GD32F1X0_USB_PRINTER_CDC_WRAPPER_H_ */
31 
32 /************************ (C) COPYRIGHT 2014 GIGADEVICE *****END OF FILE****/
USB printer (USB printing device) header file.
USB device class callback type define.
Definition: usb_core.h:153
Header file for the usbd_cdc_core.c file.
Generated by   doxygen 1.8.10