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
Содержание 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...