Mercurial > louis > kiibohd-controller
view Output/pjrcUSB/arm/usb_mem.h @ 104:e84738d174bc
Moving USB to Output in preparation for additional Output types.
* Initial cli code
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sun, 19 Jan 2014 16:40:36 -0800 |
parents | |
children | 5ffefdf89b37 |
line wrap: on
line source
#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