USB Controller
24.3.1.52 ROM_USBIntStatusControl
Returns the control interrupt status on a given USB controller.
Prototype:
uint32_t
ROM_USBIntStatusControl(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_USBIntStatusControl
is a function pointer located at
ROM_USBTABLE[50]
.
Parameters:
ui32Base
specifies the USB module base address.
Description:
This function will read control interrupt status for a USB controller. This call will return the
current status for control interrupts only, the endpoint interrupt status is retrieved by call-
ing
. The bit values returned should be compared against the
USB_INTCTRL_
∗
values.
The following are the meanings of all
USB_INCTRL_
flags and the modes for which
they are valid.
These values apply to any calls to
, and
. Some of these flags are
only valid in the following modes as indicated in the parenthesis: Host, Device, and OTG.
USB_INTCTRL_ALL
- A full mask of all control interrupt sources.
USB_INTCTRL_VBUS_ERR
- A VBUS error has occurred (Host Only).
USB_INTCTRL_SESSION
- Session Start Detected on A-side of cable (OTG Only).
USB_INTCTRL_SESSION_END
- Session End Detected (Device Only)
USB_INTCTRL_DISCONNECT
- Device Disconnect Detected (Host Only)
USB_INTCTRL_CONNECT
- Device Connect Detected (Host Only)
USB_INTCTRL_SOF
- Start of Frame Detected.
USB_INTCTRL_BABBLE
- USB controller detected a device signaling past the end of a
frame. (Host Only)
USB_INTCTRL_RESET
- Reset signaling detected by device. (Device Only)
USB_INTCTRL_RESUME
- Resume signaling detected.
USB_INTCTRL_SUSPEND
- Suspend signaling detected by device (Device Only)
USB_INTCTRL_MODE_DETECT
- OTG cable mode detection has completed (OTG Only)
USB_INTCTRL_POWER_FAULT
- Power Fault detected. (Host Only)
Note:
This call will clear the source of all of the control status interrupts.
Returns:
Returns the status of the control interrupts for a USB controller.
24.3.1.53 ROM_USBIntStatusEndpoint
Returns the endpoint interrupt status on a given USB controller.
336
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...