Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
controller/Output/pjrcUSB/arm/usb_mem.h
2014-03-22 14:09:01 -07:00

20 lines
273 B
C

#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