EasyManua.ls Logo

Texas Instruments Tiva TM4C123GH6PM User Manual

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #321 background imageLoading...
Page #321 background image
USB Controller
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_USBHostAddrGet is a function pointer located at ROM_USBTABLE[20].
Parameters:
ui32Base specifies the USB module base address.
ui32Endpoint is the endpoint to access.
ui32Flags determines if this is an IN or an OUT endpoint.
Description:
This function returns the current functional address that an endpoint is using to communicate
with a device. The ui32Flags parameter determines if the IN or OUT endpoint’s device address
is returned.
Note:
This function should only be called in host mode.
Returns:
Returns the current function address being used by an endpoint.
24.3.1.28 ROM_USBHostAddrSet
Sets the functional address for the device that is connected to an endpoint in host mode.
Prototype:
void
ROM_USBHostAddrSet(uint32_t ui32Base,
uint32_t ui32Endpoint,
uint32_t ui32Addr,
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_USBHostAddrSet is a function pointer located at ROM_USBTABLE[21].
Parameters:
ui32Base specifies the USB module base address.
ui32Endpoint is the endpoint to access.
ui32Addr is the functional address for the controller to use for this endpoint.
ui32Flags determines if this is an IN or an OUT endpoint.
Description:
This function will set the functional address for a device that is using this endpoint for commu-
nication. This ui32Addr parameter is the address of the target device that this endpoint is used
to communicate with. The ui32Flags parameter indicates if the IN or OUT endpoint should be
set.
Note:
This function should only be called in host mode.
Returns:
None.
April 8, 2013 321
Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Tiva TM4C123GH6PM and is the answer not in the manual?

Texas Instruments Tiva TM4C123GH6PM Specifications

General IconGeneral
CoreARM Cortex-M4F
Clock Speed80 MHz
Flash Memory256 KB
SRAM32 KB
GPIO Pins43
UART8
I2C2
SPI/SSI4
USBUSB 2.0
Timers6
Communication InterfacesUART, I2C, SPI, USB
Operating Temperature-40°C to 85°C
PackageLQFP64

Summary

Boot Loader

Introduction

Explains the ROM-based boot loader and its interfaces for flash updates.

Serial Interfaces

Details the UART, SSI, and I2C interfaces used by the boot loader.

USB Interface

Describes the USB boot loader functionality using the DFU protocol.

Controller Area Network (CAN)

Flash

GPIO

Hibernation Module

Inter-Integrated Circuit (I2C)

Interrupt Controller (NVIC)

Memory Protection Unit (MPU)

Pulse Width Modulator (PWM)

Synchronous Serial Interface (SSI)

System Control

Timer

UART

uDMA Controller

USB Controller

Watchdog Timer

Functions

Lists and describes API functions for watchdog timer configuration, interrupts, and lock mechanism.

Related product manuals