USB options

Address : 02C1 (bank 2, register C1)

Size : 1 byte

Default : 00

Description

Control various options related to the USB interface.

Remark

If the device has no USB interface, this register is ignored.

Content

Bit    Role Values
7 Disable USB 0 : USB is enabled
1 : USB is disabled, all the other settings are ignored
6 Disable serial number 0 : The actual serial number of the device is provided in the USB descriptor
1 : A constant serial number is provided in the USB descriptor
5 On USB bus reset event, does the device fully reset? 0 : Don't reset
1 : Do reset upon Bus reset
4 On USB bus resume event, does the device fully reset? 0 : Don't reset
1 : Do reset upon Bus Resume
3 Disable SpringCore direct as secondary USB interface. 0 : SpringCore Direct is announced in the USB profile
1 : SpringCore Direct is not announced in the USB profile
2 Behaviour of the device when USB VBUS is lost and the device is not allowed to keep running 0 : Reset
1 : Shutdown
1-0 Behaviour of the device when USB VBUS is lost 0 : Stop - reset or shutdown
1 : Keep running on external power
2 : Keep running on battery
3 : Keep running (either on external power or battery)

Remarks

Bit 5: On USB bus reset event, does the device fully reset?

Standard behaviour is no, but this does help putting back a battery-powered or externaly-powered device that was connected through Bluetooth or Network to the 'ready for USB operation' state

Bit 4: On USB bus resume event, does the device fully reset?

Standard behaviour is no, but this does help putting back a battery-powered or externaly-powered device that was connected through Bluetooth or Network to the 'ready for USB operation' state

Bit 3: Disable SpringCore direct as secondary USB interface.

If Host interface profile is set to 0 (SpringCore Direct only), this setting is ignored.