UVC host library
Dependents: LifeCam WebcamServer
Diff: uvc/usb_itd.h
- Revision:
- 0:b0f04c137829
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uvc/usb_itd.h Tue Jul 31 13:58:03 2012 +0000 @@ -0,0 +1,23 @@ +#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 \ No newline at end of file