37.7.25 USB Device Control Register

Table 37-27. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: DEVCTL
Offset: 0x1060
Reset: 0x0000
Property: PAC Write-Protection

Bit 76543210 
 BDEVICEFSDEVLSDEVVBUS[1:0]HOSTMODEHOSTREQSESSION 
Access RRR/WR/WR/WRR/W/HCR/W 
Reset 10100000 

Bit 7 – BDEVICE USB Device Type bit

ValueDescription
0USB is operating as an 'A' device
1USB is operating as a 'B' device

Bit 6 – FSDEV Full-Speed/Hi-Speed Device Detection bit (Host mode)

ValueDescription
0No Full-Speed or Hi-Speed device detected
1A Full-Speed or Hi-Speed device has been detected being connected to the port

Bit 5 – LSDEV Low-Speed Device Detection bit (Host mode)

ValueDescription
0No Low-Speed device detected
1A Low-Speed device has been detected being connected to the port

Bits 4:3 – VBUS[1:0] VBUS Level Detection bits

ValueDescription
11Above VBUS Valid
10Above AValid, below VBUS Valid
01Above Session End, below AValid
00Below Session End

Bit 2 – HOSTMODE Host Mode bit

ValueDescription
0USB module is not acting as aHost
1USB module is acting as a Host

Bit 1 – HOSTREQ Host Request Control bit

'B' device only:

ValueDescription
0Host Negotiation is not taking place
1USB module initiates the Host Negotiation when Suspend mode is entered. This bit is cleared when Host Negotiation is completed.

Bit 0 – SESSION Active Session Control/Status

'A'device:

1= Start a session

0= End a session

'B' device:

1= (Read) Session has started or is in progress, (Write) Initiate the Session Request Protocol

0= When USB module is in Suspend mode, clearing this bit will cause a software disconnect

Note: Clearing this bit when the USB module is not suspended will result in undefined behavior.