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

usb/Usb_td.h

Committer:
todotani
Date:
2013-02-20
Revision:
6:cf06ba884429
Parent:
0:1ed23ab1345f

File content as of revision 6:cf06ba884429:

#ifndef USB_TD_H
#define USB_TD_H
#include "UsbInc.h"
#include "usb_mem.h"

template <class T> 
class tdqueue {
public:
    tdqueue();
    int size();
    bool empty();
    T front();
    void pop();
    void push(T td);
private:
    T m_head;
    T m_tail;
};

HCTD* td_reverse(HCTD* td);
void test_td();

#endif //USB_TD_H