EasyManuals Logo

Texas Instruments Tiva TM4C123GH6PM User Manual

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #314 background imageLoading...
Page #314 background image
USB Controller
24.3.1.17 ROM_USBEndpointDataToggleClear
Sets the Data toggle on an endpoint to zero.
Prototype:
void
ROM_USBEndpointDataToggleClear(uint32_t ui32Base,
uint32_t ui32Endpoint,
uint32_t ui32Flags)
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_USBEndpointDataToggleClear is a function pointer located at ROM_USBTABLE[13].
Parameters:
ui32Base specifies the USB module base address.
ui32Endpoint specifies the endpoint to reset the data toggle.
ui32Flags specifies whether to access the IN or OUT endpoint.
Description:
This function will cause the controller to clear the data toggle for an endpoint. This call is not
valid for endpoint zero and can be made with host or device controllers.
The ui32Flags parameter should be one of USB_EP_HOST_OUT, USB_EP_HOST_IN,
USB_EP_DEV_OUT, or USB_EP_DEV_IN.
Returns:
None.
24.3.1.18 ROM_USBEndpointDMAChannel
Sets the DMA channel to use for a given endpoint.
Prototype:
void
ROM_USBEndpointDMAChannel(uint32_t ui32Base,
uint32_t ui32Endpoint,
uint32_t ui32Channel)
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_USBEndpointDMAChannel is a function pointer located at ROM_USBTABLE[47].
Parameters:
ui32Base specifies the USB module base address.
ui32Endpoint specifies which endpoint’s FIFO address to return.
ui32Channel specifies which DMA channel to use for which endpoint.
Description:
This function is used to configure which DMA channel to use with a given endpoint. Receive
DMA channels can only be used with receive endpoints and transmit DMA channels can only
314 April 8, 2013

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Tiva TM4C123GH6PM and is the answer not in the manual?

Texas Instruments Tiva TM4C123GH6PM Specifications

General IconGeneral
BrandTexas Instruments
ModelTiva TM4C123GH6PM
CategoryMicrocontrollers
LanguageEnglish

Related product manuals