BTstack Bluetooth stack

Dependencies:   mbed USBHost

USBホストライブラリを変更しました。

  • Bluetoothマウス(VGP-BMS33)での動作を確認しました。mouse_demo.cpp

uvc/usb_itd.h

Committer:
va009039
Date:
2012-06-26
Revision:
0:1ed23ab1345f

File content as of revision 0:1ed23ab1345f:

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

class usb_itd {
public:
    usb_itd(HCITD* itd);
    bool Done();
    int ConditionCode();
    int FrameCount();
    int PacketStatus(int n);
    int Length(int n);
    uint8_t* BufferPage(int n, int size);
    uint16_t StartingFrame();
    void free();
    void debug();
private:
    uint16_t get_psw(int n);
    HCITD* m_itd;
};

#endif //USB_ITD_H