USB Controller
Note:
This function should only be called in host mode.
Returns:
None.
24.3.1.41 ROM_USBHostRequestIN
Schedules a request for an IN transaction on an endpoint in host mode.
Prototype:
void
ROM_USBHostRequestIN(uint32_t ui32Base,
uint32_t ui32Endpoint)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_USBTABLE is an array of pointers located at ROM_APITABLE[16].
ROM_USBHostRequestIN is a function pointer located at ROM_USBTABLE[33].
Parameters:
ui32Base specifies the USB module base address.
ui32Endpoint is the endpoint to access.
Description:
This function will schedule a request for an IN transaction. When the USB de-
vice being communicated with responds the data, the data can be retrieved by calling
ROM_USBEndpointDataGet() or via a DMA transfer.
Note:
This function should only be called in host mode.
Returns:
None.
24.3.1.42 ROM_USBHostRequestINClear
Clears a scheduled IN transaction for an endpoint in host mode.
Prototype:
void
ROM_USBHostRequestINClear(uint32_t ui32Base,
uint32_t ui32Endpoint)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_USBTABLE is an array of pointers located at ROM_APITABLE[16].
ROM_USBHostRequestINClear is a function pointer located at ROM_USBTABLE[60].
Parameters:
ui32Base specifies the USB module base address.
330 April 8, 2013