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
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...