UVC host library
Dependents: LifeCam WebcamServer
uvc/usb_itd.h@3:3eb41d749f9a, 2012-08-15 (annotated)
- Committer:
- va009039
- Date:
- Wed Aug 15 13:52:53 2012 +0000
- Revision:
- 3:3eb41d749f9a
- Parent:
- 0:b0f04c137829
add USB_USE_MALLOC
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 0:b0f04c137829 | 1 | #ifndef USB_ITD_H |
va009039 | 0:b0f04c137829 | 2 | #define USB_ITD_H |
va009039 | 0:b0f04c137829 | 3 | #include "UsbInc.h" |
va009039 | 0:b0f04c137829 | 4 | #include "usb_mem.h" |
va009039 | 0:b0f04c137829 | 5 | |
va009039 | 0:b0f04c137829 | 6 | class usb_itd { |
va009039 | 0:b0f04c137829 | 7 | public: |
va009039 | 0:b0f04c137829 | 8 | usb_itd(HCITD* itd); |
va009039 | 0:b0f04c137829 | 9 | bool Done(); |
va009039 | 0:b0f04c137829 | 10 | int ConditionCode(); |
va009039 | 0:b0f04c137829 | 11 | int FrameCount(); |
va009039 | 0:b0f04c137829 | 12 | int PacketStatus(int n); |
va009039 | 0:b0f04c137829 | 13 | int Length(int n); |
va009039 | 0:b0f04c137829 | 14 | uint8_t* BufferPage(int n, int size); |
va009039 | 0:b0f04c137829 | 15 | uint16_t StartingFrame(); |
va009039 | 0:b0f04c137829 | 16 | void free(); |
va009039 | 0:b0f04c137829 | 17 | void debug(); |
va009039 | 0:b0f04c137829 | 18 | private: |
va009039 | 0:b0f04c137829 | 19 | uint16_t get_psw(int n); |
va009039 | 0:b0f04c137829 | 20 | HCITD* m_itd; |
va009039 | 0:b0f04c137829 | 21 | }; |
va009039 | 0:b0f04c137829 | 22 | |
va009039 | 0:b0f04c137829 | 23 | #endif //USB_ITD_H |