
Universal Serial Bus Interface – On-The-Go Module
Freescale Semiconductor
21-19
21.3.3.2
USB Status Register (USBSTS)
This register indicates various states of each module and any pending interrupts. This register does not
indicate status resulting from a transaction on the serial bus. Software clears certain bits in this register by
writing a 1 to them.
1
RST
Controller reset. Software uses this bit to reset controller. Controller clears this bit when reset process
completes. Clearing this register does not allow software to terminate the reset process early.
Host mode (USB Host and USB OTG):
When software sets this bit, the controller resets its internal pipelines, timers, counters, state machines etc.
to their initial value. Any transaction in progress on the USB immediately terminates. A USB reset is not
driven on downstream ports. Software must not set this bit when the USBSTS[HCH] bit is cleared.
Attempting to reset an actively running host controller results in undefined behavior.
Device mode (USB OTG-only):
When software sets this bit, the controller resets its internal pipelines, timers, counters, state machines, etc.
to their initial value. Setting this bit with the device in the attached state is not recommended because it has
an undefined effect on an attached host. To ensure the device is not in an attached state before initiating a
device controller reset, all primed endpoints must be flushed and the USBCMD[RS] bit must be cleared.
0
RS
Run/Stop.
Host mode (USB Host and USB OTG):
When set, the controller proceeds with the execution of the schedule. The controller continues execution as
long as this bit is set. When this bit is cleared, the controller completes the current transaction on the USB
and then halts. The USBSTS[HCH] bit indicates when the host controller finishes the transaction and enters
the stopped state. Software must not set this bit unless controller is in halted state (USBSTS[HCH] = 1).
Device mode (USB OTG-only):
Setting this bit causes the controller to enable a pull-up on DP and initiate an attach event. This control bit is
not directly connected to the pull-up enable, as the pull-up becomes disabled upon transitioning into
high-speed mode. Software must use this bit to prevent an attach event before the USB OTG controller has
properly initialized. Clearing this bit causes a detach event.
Address: 0xFC0B_0144 (USBSTS)
Access: User read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
NAKI
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
AS
PS
RCL
HCH
0
ULPII
0
SLI
SRI
URI
AAI
SEI
FRI
PCI
UEI
UI
W
w1c
w1c
w1c
w1c
w1c
w1c
w1c
w1c
w1c
Reset
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
Figure 21-16. USB Status Register (USBSTS)
Table 21-17. USBCMD Field Descriptions (continued)
Field
Description
MCF5329 Reference Manual, Rev 3
Содержание MCF5329
Страница 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 126: ...Enhanced Multiply Accumulate Unit EMAC 4 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 564: ...Liquid Crystal Display Controller LCDC 22 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 692: ...Programmable Interrupt Timers PIT0 PIT3 28 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 720: ...Queued Serial Peripheral Interface QSPI 30 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 790: ...Message Digest Hardware Accelerator MDHA 33 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 902: ...Register Memory Map Quick Reference A 26 Freescale Semiconductor MCF5329 Reference Manual Rev 3...