USB Controller
zero. The
bIsLastPacket
parameter is not used for endpoints other than endpoint zero. This
call can be used if processing is required between reading the data and acknowledging that
the data has been read.
Note:
This function should only be called in device mode.
Returns:
None.
24.3.1.9 ROM_USBDevEndpointStall
Stalls the specified endpoint in device mode.
Prototype:
void
ROM_USBDevEndpointStall(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_USBDevEndpointStall
is a function pointer located at
ROM_USBTABLE[7]
.
Parameters:
ui32Base
specifies the USB module base address.
ui32Endpoint
specifies the endpoint to stall.
ui32Flags
specifies whether to stall the IN or OUT endpoint.
Description:
This function will cause to endpoint number passed in to go into a stall condition. If the
ui32Flags
parameter is
USB_EP_DEV_IN
then the stall is issued on the IN portion of this
endpoint. If the
ui32Flags
parameter is
USB_EP_DEV_OUT
then the stall is issued on the
OUT portion of this endpoint.
Note:
This function should only be called in device mode.
Returns:
None.
24.3.1.10 ROM_USBDevEndpointStallClear
Clears the stall condition on the specified endpoint in device mode.
Prototype:
void
ROM_USBDevEndpointStallClear(uint32_t ui32Base,
uint32_t ui32Endpoint,
uint32_t ui32Flags)
April 8, 2013
309
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...