USBHost library. NOTE: This library is only officially supported on the LPC1768 platform. For more information, please see the handbook page.
Dependencies: FATFileSystem mbed-rtos
Dependents: BTstack WallbotWii SD to Flash Data Transfer USBHost-MSD_HelloWorld ... more
Legacy Warning
This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.
Pull requests against this repository are no longer supported. Please raise against mbed OS 5 as documented above.
Diff: USBHost/USBHostTypes.h
- Revision:
- 34:028508fd50fa
- Parent:
- 24:868cbfe611a7
- Child:
- 37:f1e388e7b752
--- a/USBHost/USBHostTypes.h Fri Dec 11 16:16:06 2015 +0000 +++ b/USBHost/USBHostTypes.h Thu Feb 18 09:46:13 2016 +0000 @@ -136,10 +136,10 @@ #define CONFIGURATION_DESCRIPTOR_LENGTH 0x09 // ------------ HostController Transfer Descriptor ------------ -typedef struct HCTD { +typedef struct hcTd { __IO uint32_t control; // Transfer descriptor control __IO uint8_t * currBufPtr; // Physical address of current buffer pointer - __IO HCTD * 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