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
Diff: LPC4088-USBHostC270/USBIsochronous.h
- Revision:
- 0:c972ee42b455
diff -r 000000000000 -r c972ee42b455 LPC4088-USBHostC270/USBIsochronous.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/LPC4088-USBHostC270/USBIsochronous.h Thu Apr 24 05:38:45 2014 +0000
@@ -0,0 +1,21 @@
+// USBIsochronous.h
+#pragma once
+
+class IsochronousEp : public USBEndpoint {
+public:
+ IsochronousEp(USBDeviceConnected* dev);
+ void init2(uint8_t frameCount = 4, uint8_t queueLimit = HCTD_QUEUE_SIZE);
+ void reset(int delay_ms = 100);
+ HCITD* isochronousReceive(int timeout_ms);
+
+private:
+ HCITD* new_HCITD(IsochronousEp* obj);
+ HCITD* get_queue_HCITD(int timeout_ms);
+ int m_itd_queue_count;
+ int m_itd_queue_limit;
+ uint16_t m_FrameNumber;
+ int m_FrameCount; // 1-8
+ void enable();
+};
+
+