• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2022, aozima
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 /*
7  * Change Logs
8  * Date           Author       Notes
9  * 2022-04-17     aozima       the first version for CherryUSB.
10  */
11 
12 #ifndef __USB_CLASHH_AXUSBNET_H__
13 #define __USB_CLASHH_AXUSBNET_H__
14 
15 #include "usbh_core.h"
16 #include "asix.h"
17 
18 struct usbh_axusbnet {
19     struct usbh_hubport *hport;
20 
21     uint8_t intf; /* interface number */
22 
23     usbh_pipe_t int_notify; /* Notify endpoint */
24     usbh_pipe_t bulkin;  /* Bulk IN endpoint */
25     usbh_pipe_t bulkout; /* Bulk OUT endpoint */
26 
27     uint32_t bulkin_buf[2048/sizeof(uint32_t)];
28 };
29 
30 #endif /* __USB_CLASHH_AXUSBNET_H__ */
31