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.
Fork of USBHost by
Diff: USBHost/USBHostTypes.h
- Revision:
- 4:b320d68e98e7
- Parent:
- 0:a554658735bf
- Child:
- 8:93da8ea2708b
diff -r 0f5c32575eb8 -r b320d68e98e7 USBHost/USBHostTypes.h
--- a/USBHost/USBHostTypes.h Wed Mar 06 17:50:07 2013 +0000
+++ b/USBHost/USBHostTypes.h Tue Mar 12 17:23:37 2013 +0000
@@ -137,10 +137,10 @@
#define CONFIGURATION_DESCRIPTOR_LENGTH 0x09
// ------------ HostController Transfer Descriptor ------------
-typedef __packed struct hcTd {
- __IO uint32_t control; // Transfer descriptor control
+typedef __packed struct HCTD {
+ __IO uint32_t control; // Transfer descriptor control
__IO uint8_t * currBufPtr; // Physical address of current buffer pointer
- __IO uint32_t nextTD; // Physical pointer to next Transfer Descriptor
+ __IO HCTD * nextTD; // Physical pointer to next Transfer Descriptor
__IO uint8_t * bufEnd; // Physical address of end of buffer
void * ep; // ep address where a td is linked in
uint32_t dummy[3]; // padding
@@ -151,7 +151,7 @@
__IO uint32_t control; // Endpoint descriptor control
__IO HCTD * tailTD; // Physical address of tail in Transfer descriptor list
__IO HCTD * headTD; // Physcial address of head in Transfer descriptor list
- __IO uint32_t nextED; // Physical address of next Endpoint descriptor
+ __IO hcEd * nextED; // Physical address of next Endpoint descriptor
} HCED;
@@ -225,4 +225,3 @@
} HubDescriptor;
#endif
-
