Adaptation of the official mbed USBHost repository to work with the LPC4088 Display Module
Dependents: DMSupport DMSupport DMSupport DMSupport
Fork of DM_USBHost by
Diff: USBHost/USBHostTypes.h
- Revision:
- 4:b320d68e98e7
- Parent:
- 0:a554658735bf
- Child:
- 8:93da8ea2708b
--- 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 -