add initial framework

This commit is contained in:
Conor Patrick
2018-04-28 13:40:28 -04:00
parent 0d0eff153e
commit 999ea34634
9 changed files with 212 additions and 0 deletions

16
usbhid.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef _USBHID_H
#define _USBHID_H
// HID message size in bytes
#define HID_MESSAGE_SIZE 64
void usbhid_init();
void usbhid_recv(uint8_t * msg);
void usbhid_send(uint8_t * msg);
void usbhid_close();
#endif