Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBDevice by
HID_REPORT.h
00001 #include <stdint.h> 00002 #ifndef HID_REPORT_H 00003 #define HID_REPORT_H 00004 /* Where report IDs are used the first byte of 'data' will be the */ 00005 /* report ID and 'length' will include this report ID byte. */ 00006 #define MAX_HID_REPORT_SIZE (64) 00007 00008 class HID_REPORT { 00009 public: 00010 HID_REPORT(int length=MAX_HID_REPORT_SIZE); 00011 /* Causes compile error */ 00012 ~HID_REPORT(){ 00013 delete[] data; 00014 }; 00015 /**/ 00016 uint32_t length; 00017 uint8_t *data; 00018 }; 00019 00020 #endif
Generated on Tue Jul 12 2022 20:53:38 by
1.7.2
