您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
12345678910111213141516171819 |
- #ifndef _usb_mem_h_
- #define _usb_mem_h_
-
- #include <stdint.h>
-
- typedef struct usb_packet_struct {
- uint16_t len;
- uint16_t index;
- struct usb_packet_struct *next;
- uint8_t buf[64];
- } usb_packet_t;
-
- usb_packet_t * usb_malloc(void);
- void usb_free(usb_packet_t *p);
-
-
-
-
- #endif
|