![Texas Instruments AM1808 Скачать руководство пользователя страница 1714](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581714.webp)
Registers
1714
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Universal Serial Bus 2.0 (USB) Controller
34.4.27 Interrupt Register for Common USB Interrupts (INTRUSB)
The interrupt register for common USB interrupts (INTRUSB) is shown in
and described in
.
NOTE:
Unless the UINT bit in the control register (CTRLR) is set to 1 (non-PDR interrupt mode is
enabled), do not read this register directly. Performing a read clears the pending interrupt.
Use INTRUSB only when in the non-PDR interrupt mode, that is, when handling the interrupt
directly from the controller.
Figure 34-53. Interrupt Register for Common USB Interrupts (INTRUSB)
7
6
5
4
3
2
1
0
VBUSERR
SESSREQ
DISCON
CONN
SOF
RESET_BABBLE
RESUME
SUSPEND
R-0
R-0
R-0
R-0
R-0
R-0
R-0
R-0
LEGEND: R = Read only; -
n
= value after reset
Table 34-57. Interrupt Register for Common USB Interrupts (INTRUSB) Field Descriptions
Bit
Field
Value
Description
7
VBUSERR
0-1
Set when VBus drops below the VBus valid threshold during a session. Only valid when the USB
controller is 'A' device. All active interrupts will be cleared when this register is read.
6
SESSREQ
0-1
Set when session request signaling has been detected. Only valid when USB controller is 'A' device.
5
DISCON
0-1
Set in host mode when a device disconnect is detected. Set in peripheral mode when a session
ends.
4
CONN
0-1
Set when a device connection is detected. Only valid in host mode.
3
SOF
0-1
Set when a new frame starts.
2
RESET_BABBLE
0-1
Set in peripheral mode when reset signaling is detected on the bus set in host mode when babble is
detected.
1
RESUME
0-1
Set when resume signaling is detected on the bus while the USB controller is in suspend mode.
0
SUSPEND
0-1
Set when suspend signaling is detected on the bus only valid in peripheral mode.