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 uvchost by
Usb_td.h
00001 #ifndef USB_TD_H 00002 #define USB_TD_H 00003 #include "UsbInc.h" 00004 #include "usb_mem.h" 00005 00006 template <class T> 00007 class tdqueue { 00008 public: 00009 tdqueue(); 00010 int size(); 00011 bool empty(); 00012 T front(); 00013 void pop(); 00014 void push(T td); 00015 private: 00016 T m_head; 00017 T m_tail; 00018 }; 00019 00020 HCTD* td_reverse(HCTD* td); 00021 void test_td(); 00022 00023 #endif //USB_TD_H
Generated on Wed Jul 13 2022 01:34:55 by
1.7.2
