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@0:de03cbbcd0ff, 2015-11-30 (annotated)
- Committer:
- mbed_Cookbook_SE
- Date:
- Mon Nov 30 09:32:15 2015 +0000
- Revision:
- 0:de03cbbcd0ff
??
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 1 | #ifndef USB_ITD_H |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 2 | #define USB_ITD_H |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 3 | #include "UsbInc.h" |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 4 | #include "usb_mem.h" |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 5 | |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 6 | class usb_itd { |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 7 | public: |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 8 | usb_itd(HCITD* itd); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 9 | bool Done(); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 10 | int ConditionCode(); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 11 | int FrameCount(); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 12 | int PacketStatus(int n); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 13 | int Length(int n); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 14 | uint8_t* BufferPage(int n, int size); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 15 | uint16_t StartingFrame(); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 16 | void free(); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 17 | void debug(); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 18 | private: |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 19 | uint16_t get_psw(int n); |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 20 | HCITD* m_itd; |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 21 | }; |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 22 | |
| mbed_Cookbook_SE | 0:de03cbbcd0ff | 23 | #endif //USB_ITD_H |