usbh_printer.h 457 B

123456789101112131415161718192021222324252627
  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. #include "usb_printer.h"
  9. struct usbh_printer {
  10. struct usbh_hubport *hport;
  11. uint8_t intf; /* interface number */
  12. usbh_pipe_t bulkin; /* BULK IN endpoint */
  13. usbh_pipe_t bulkout; /* BULK OUT endpoint */
  14. };
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif /* USBH_PRINTER_H */