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
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...