7 |
FORCEH |
R/W |
0x0 |
Force Host Mode.
While in this mode, status of the bus connection may be read using the DEV bit of the USBDEVCTL register.
The operating speed is determined from the FORCEFS bit and FORCEHS bit.
The operating speed is as follows: FORCEHS = 0 and FORCEFS =
0: Low Speed FORCEHS = 0 and FORCEFS =
1: Full Speed FORCEHS = 1 and FORCEFS =
0: High Speed FORCEHS = 1 and FORCEFS =
1: Undefined
0x0 = No effect.
0x1 = Forces the USB controller to enter Host mode when the SESSION bit is set, regardless of whether the USB controller is connected to any peripheral. The state of the USB0DP and USB0DM signals is ignored. The USB controller then remains in Host mode until the SESSION bit is cleared, even if a Device is disconnected. If the FORCEH bit remains set, the USB controller re-enters Host mode the next time the SESSION bit is set.
|
6 |
FIFOACC |
R/W1S |
0x0 |
FIFO Access.
This bit is cleared automatically.
0x0 = No effect.
0x1 = Transfers the packet in the endpoint 0 transmit FIFO to the endpoint 0 receive FIFO.
|
5 |
FORCEFS |
R/W |
0x0 |
Force Full-Speed Mode.
If FORCEH is set, then this bit is used in combination with FORCEHS to determine the operating speed.
If FORCEH is not set, then this operates as:
0x0 = The USB controller operates at Low Speed.
0x1 = Forces the USB controller into Full-Speed mode upon receiving a USB RESET.
|
4 |
FORCEHS |
R/W |
0x0 |
Force High-Speed Mode.
If FORCEH is set, then this bit is used in combination with FORCEFS to determine the operating speed.
If FORCEH is not set, then this operates as:
0x0 = The USB controller operates at Low Speed.
0x1 = Forces the USB controller into High-Speed mode upon receiving a USB RESET.
|
3 |
TESTPKT |
R/W |
0x0 |
Test Packet Mode Enable.
When this mode is entered, the USB repetitively transmits on the bus a
53-byte test packet, the form which is defined in the Universal Serial Bus Specification, Revision 2.0.
The test packet has a fixed format and must be loaded into the Endpoint 0 FIFO before test mode is entered.
0x0 = Test packet mode disabled.
0x1 = Test packet mode enabled.
|
2 |
TESTK |
R/W |
0x0 |
Test_K Mode Enable.
In this mode, a continuous K is transmitted on the bus.
0x0 = Test_K mode disabled
0x1 = Test_K mode enabled
|
1 |
TESTJ |
R/W |
0x0 |
Test_J Mode Enable.
In this mode, a continuous J is transmitted on the bus.
0x0 = Test_J mode disabled
0x1 = Test_J Mode enabled.
|
0 |
TESTSE0NAK |
R/W |
0x0 |
Test_SE0_NAK Test Mode Enable.
In this mode, the USB remains in high-speed mode but responds to any valid IN token with a NAK.
0x0 = Test_SE0_NAK test mode disabled.
0x1 = Test_SE0_NAK test mode enabled.
|