mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-15 19:08:54 +00:00
29 lines
476 B
C
29 lines
476 B
C
/*
|
|
* Copyright (c) 2022, sakumisu
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef USBH_PRINTER_H
|
|
#define USBH_PRINTER_H
|
|
|
|
#include "usb_printer.h"
|
|
|
|
struct usbh_printer {
|
|
struct usbh_hubport *hport;
|
|
|
|
uint8_t intf; /* interface number */
|
|
uint8_t minor;
|
|
usbh_pipe_t bulkin; /* BULK IN endpoint */
|
|
usbh_pipe_t bulkout; /* BULK OUT endpoint */
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* USBH_PRINTER_H */
|