• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2022, sakumisu
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef USBH_PRINTER_H
7 #define USBH_PRINTER_H
8 
9 #include "usb_printer.h"
10 
11 struct usbh_printer {
12     struct usbh_hubport *hport;
13 
14     uint8_t intf;          /* interface number */
15     uint8_t minor;
16     usbh_pipe_t bulkin;  /* BULK IN endpoint */
17     usbh_pipe_t bulkout; /* BULK OUT endpoint */
18 };
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 #ifdef __cplusplus
25 }
26 #endif
27 
28 #endif /* USBH_PRINTER_H */
29