EasyManuals Logo
Home>Texas Instruments>Microcontrollers>Tiva TM4C123GH6PM

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 #324 background imageLoading...
Page #324 background image
USB Controller
24.3.1.31 ROM_USBHostEndpointDataToggle
Sets the value data toggle on an endpoint in host mode.
Prototype:
void
ROM_USBHostEndpointDataToggle(uint32_t ui32Base,
uint32_t ui32Endpoint,
bool bDataToggle,
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_USBHostEndpointDataToggle is a function pointer located at ROM_USBTABLE[24].
Parameters:
ui32Base specifies the USB module base address.
ui32Endpoint specifies the endpoint to reset the data toggle.
bDataToggle specifies whether to set the state to DATA0 or DATA1.
ui32Flags specifies whether to set the IN or OUT endpoint.
Description:
This function is used to force the state of the data toggle in host mode. If the value passed
in the bDataToggle parameter is false, then the data toggle is set to the DATA0 state, and if
it is true it is set to the DATA1 state. The ui32Flags parameter can be USB_EP_HOST_IN or
USB_EP_HOST_OUT to access the desired portion of this endpoint. The ui32Flags parameter
is ignored for endpoint zero.
Note:
This function should only be called in host mode.
Returns:
None.
24.3.1.32 ROM_USBHostEndpointStatusClear
Clears the status bits in this endpoint in host mode.
Prototype:
void
ROM_USBHostEndpointStatusClear(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_USBHostEndpointStatusClear is a function pointer located at ROM_USBTABLE[25].
Parameters:
ui32Base specifies the USB module base address.
324 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