Kiibohd Controller
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

usb_mem.h 273B

12345678910111213141516171819
  1. #ifndef _usb_mem_h_
  2. #define _usb_mem_h_
  3. #include <stdint.h>
  4. typedef struct usb_packet_struct {
  5. uint16_t len;
  6. uint16_t index;
  7. struct usb_packet_struct *next;
  8. uint8_t buf[64];
  9. } usb_packet_t;
  10. usb_packet_t * usb_malloc(void);
  11. void usb_free(usb_packet_t *p);
  12. #endif