GD32F1x0: USB/GD32_USB_Device_Library/Class/printer/inc/usbd_printer_core.h Source File

GD32F1x0

usbd_printer_core.h
Go to the documentation of this file.
1 
11 /* Define to prevent recursive inclusion -------------------------------------*/
12 #ifndef __GD32F1X0_USBD_PRINTER_CORE_H
13 #define __GD32F1X0_USBD_PRINTER_CORE_H
14 
15 /* Includes ------------------------------------------------------------------*/
16 #include "usbd_core.h"
17 
37 #define USB_PRINTER_CONFIG_DESC_SIZE 32
38 
39 #define GET_DEVICE_ID 0x01
40 #define GET_PORT_STATUS 0x02
41 #define SOFT_RESET 0x03
42 
50 extern USBD_Class_cb_TypeDef USBD_PRINTER_cb;
51 
56 #endif /* __GD32F1X0_USB_PRINTER_CORE_H */
57 
74 /************************ (C) COPYRIGHT 2014 GIGADEVICE *****END OF FILE****/
USB device class callback type define.
Definition: usb_core.h:153
USB device core function protoype.
Generated by   doxygen 1.8.10