]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Output/pjrcUSB/arm/usb_mem.h
Moving USB to Output in preparation for additional Output types.
[kiibohd-controller.git] / Output / pjrcUSB / arm / usb_mem.h
1 #ifndef _usb_mem_h_
2 #define _usb_mem_h_
3
4 #include <stdint.h>
5
6 typedef struct usb_packet_struct {
7         uint16_t len;
8         uint16_t index;
9         struct usb_packet_struct *next;
10         uint8_t buf[64];
11 } usb_packet_t;
12
13 usb_packet_t * usb_malloc(void);
14 void usb_free(usb_packet_t *p);
15
16
17
18
19 #endif