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: LPC4088-USBHost mbed
LPC4088-USBHostC270/USBIsochronous.h@0:c972ee42b455, 2014-04-24 (annotated)
- Committer:
- va009039
- Date:
- Thu Apr 24 05:38:45 2014 +0000
- Revision:
- 0:c972ee42b455
first commit,sync rev.29.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| va009039 | 0:c972ee42b455 | 1 | // USBIsochronous.h |
| va009039 | 0:c972ee42b455 | 2 | #pragma once |
| va009039 | 0:c972ee42b455 | 3 | |
| va009039 | 0:c972ee42b455 | 4 | class IsochronousEp : public USBEndpoint { |
| va009039 | 0:c972ee42b455 | 5 | public: |
| va009039 | 0:c972ee42b455 | 6 | IsochronousEp(USBDeviceConnected* dev); |
| va009039 | 0:c972ee42b455 | 7 | void init2(uint8_t frameCount = 4, uint8_t queueLimit = HCTD_QUEUE_SIZE); |
| va009039 | 0:c972ee42b455 | 8 | void reset(int delay_ms = 100); |
| va009039 | 0:c972ee42b455 | 9 | HCITD* isochronousReceive(int timeout_ms); |
| va009039 | 0:c972ee42b455 | 10 | |
| va009039 | 0:c972ee42b455 | 11 | private: |
| va009039 | 0:c972ee42b455 | 12 | HCITD* new_HCITD(IsochronousEp* obj); |
| va009039 | 0:c972ee42b455 | 13 | HCITD* get_queue_HCITD(int timeout_ms); |
| va009039 | 0:c972ee42b455 | 14 | int m_itd_queue_count; |
| va009039 | 0:c972ee42b455 | 15 | int m_itd_queue_limit; |
| va009039 | 0:c972ee42b455 | 16 | uint16_t m_FrameNumber; |
| va009039 | 0:c972ee42b455 | 17 | int m_FrameCount; // 1-8 |
| va009039 | 0:c972ee42b455 | 18 | void enable(); |
| va009039 | 0:c972ee42b455 | 19 | }; |
| va009039 | 0:c972ee42b455 | 20 | |
| va009039 | 0:c972ee42b455 | 21 |