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.
Dependencies: FatFileSystem TB6612FNG2 mbed
uvc/usb_itd.h
- Committer:
- mbed_Cookbook_SE
- Date:
- 2015-11-30
- Revision:
- 0:de03cbbcd0ff
File content as of revision 0:de03cbbcd0ff:
#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