c8b4baf652
- CDC Output seems to be working - USB Keyboard output has not been tested, but is "ready" - UART and Timers have not been tested, or fully utilized - Issues using Timer 0 - Initial template for MBC-55X Scan module (only module currently compatible with the arm build) - Updated the interface to the AVR usb module for symmetry with the ARM usb module - Much gutting was done to the Teensy 3 usb keyboard module, though not in an ideal state yet
20 lines
273 B
C
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
|