BLE demo for mbed Ported RunningElectronics's SBDBT firmware for BLE. It can communicate with iOS

Dependencies:   FatFileSystem mbed

Fork of BTstack by Norimasa Okamoto

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Usb_td.h Source File

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