USB Controller
24.3.1.12 ROM_USBDevMode
Change the mode of the USB controller to device.
Prototype:
void
ROM_USBDevMode(uint32_t ui32Base)
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_USBDevMode
is a function pointer located at
ROM_USBTABLE[55]
.
Parameters:
ui32Base
specifies the USB module base address.
Description:
This function changes the mode of the USB controller to device mode.
Returns:
None.
24.3.1.13 ROM_USBEndpointDataAvail
Determine the number of bytes of data available in a given endpoint’s FIFO.
Prototype:
uint32_t
ROM_USBEndpointDataAvail(uint32_t ui32Base,
uint32_t ui32Endpoint)
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_USBEndpointDataAvail
is a function pointer located at
ROM_USBTABLE[44]
.
Parameters:
ui32Base
specifies the USB module base address.
ui32Endpoint
is the endpoint to access.
Description:
This function will return the number of bytes of data currently available in the FIFO for the
given receive (OUT) endpoint. It may be used prior to calling
to
determine the size of buffer required to hold the newly-received packet.
Returns:
This call will return the number of bytes available in a given endpoint FIFO.
April 8, 2013
311
Содержание 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...