2.9.5.1 usb_device_printer.h
File Name
usb_device_printer.h
Description
USB Device Printer Function Driver Interface
This file describes the USB Device Printer Function Driver interface. The application should include this file if it needs to use the Printer Function Driver API.
Enumerations
Name | Description |
USB_DEVICE_PRINTER_EVENT | USB Device Printer Function Driver Events. |
USB_DEVICE_PRINTER_RESULT | USB Device Printer Function Driver USB Device Printer Result enumeration. |
USB_DEVICE_PRINTER_TRANSFER_FLAGS | USB Device Printer Function Driver Transfer Flags. |
Functions
Name | Description |
USB_DEVICE_PRINTER_EventHandlerSet | This function registers a event handler for the specified PRINTER function driver instance. |
USB_DEVICE_PRINTER_Read | This function requests a data read from the USB Device Printer Function Driver Layer. |
USB_DEVICE_PRINTER_Write | This function requests a data write to the USB Device PRINTER Function Driver Layer. |
Macros
Name | Description |
USB_DEVICE_PRINTER_EVENT_RESPONSE_NONE | USB Device Printer Function Driver Event Handler Response Type None. |
USB_DEVICE_PRINTER_FUNCTION_DRIVER | USB Device Printer Function Driver Function pointer. |
USB_DEVICE_PRINTER_INDEX_0 | Use this to specify Printer Function Driver Instance 0. |
USB_DEVICE_PRINTER_TRANSFER_HANDLE_INVALID | USB Device Printer Function Driver Invalid Transfer Handle Definition. |
Structures
Name | Description |
USB_DEVICE_PRINTER_EVENT_DATA_READ_COMPLETE | USB Device Printer Function Driver Read and Write Complete Event Data. |
USB_DEVICE_PRINTER_EVENT_DATA_WRITE_COMPLETE | USB Device Printer Function Driver Read and Write Complete Event Data. |
USB_DEVICE_PRINTER_INIT | This structure contains required parameters for Printer function driver initialization. |
USB_DEVICE_PRINTER_PORT_STATUS | Printer status required by class-specific request. |
Types
Name | Description |
USB_DEVICE_PRINTER_EVENT_HANDLER | USB Device Printer Event Handler Function Pointer Type. |
USB_DEVICE_PRINTER_EVENT_RESPONSE | USB Device Printer Function Driver Event Callback Response Type. |
USB_DEVICE_PRINTER_INDEX | USB Device Printer Function Driver Index. |
USB_DEVICE_PRINTER_TRANSFER_HANDLE | USB Device Printer Function Driver Transfer Handle Definition. |