13.25.8.2.1 Control B

Name: CTRLB
Offset: 0x08
Reset: 0x0001
Property: PAC Write-Protection

Bit 15141312111098 
     LPMHDSK[1:0]GNAK  
Access R/WR/WR/W 
Reset 000 
Bit 76543210 
    NREPLYSPDCONF[1:0]UPRSMDETACH 
Access RR/WR/WR/WR/W 
Reset 00000 

Bits 11:10 – LPMHDSK[1:0] Link Power Management Handshake

These bits select the Link Power Management Handshake configuration.

ValueDescription
0x0No handshake. LPM is not supported.
0x1ACK
0x2NYET
0x3Reserved

Bit 9 – GNAK Global NAK

This bit configures the operating mode of the NAK.

This bit is not synchronized.

ValueDescription
0The handshake packet reports the status of the USB transaction
1A NAK handshake is answered for each USB transaction regardless of the current endpoint memory bank status

Bit 4 – NREPLY No reply excepted SETUP Token

This bit is cleared by hardware when receiving a SETUP packet.

This bit has no effect for any other endpoint but endpoint 0.

ValueDescription
0Disable the “NO_REPLY” feature: Any transaction to endpoint 0 will be handled according to the USB2.0 standard.
1Enable the “NO_REPLY” feature: Any transaction to endpoint 0 will be ignored except SETUP.

Bits 3:2 – SPDCONF[1:0] Speed Configuration

These bits select the speed configuration.

ValueDescription
0x0FS: Full-speed
0x1LS: Low-speed
0x2Reserved
0x3Reserved

Bit 1 – UPRSM Upstream Resume

This bit is cleared when the USB receives a USB reset or once the upstream resume has been sent.

ValueDescription
0Writing a zero to this bit has no effect.
1Writing a one to this bit will generate an upstream resume to the host for a remote wakeup.

Bit 0 – DETACH Detach

ValueDescription
0The device is attached to the USB bus so that communications may occur.
1It is the default value at reset. The internal device pull-ups are disabled, removing the device from the USB bus.