Datasheet
905
32117D–AVR-01/12
AT32UC3C
32.7.1 USB General Registers
32.7.1.1 General Control Register
Name: USBCON
Access Type: Read/Write
Offset: 0x0800
Reset Value: 0x03004000
• UIMOD: USBC Mode
0: The module is in USB host mode.
1: The module is in USB device mode.
This bit has no effect when UIDE is one (USB_ID input pin activated).
This bit can be written to even if USBE is zero or FRZCLK is one. Disabling the USBC (by writing a zero to the USBE bit) does
not reset this bit.
• UIDE: USB_ID Pin Enable
0: The USB mode (device/host) is selected from the UIMOD bit.
1: The USB mode (device/host) is selected from the USB_ID input pin.
This bit can be written to even if USBE is zero or FRZCLK is one. Disabling the USBC (by writing a zero to the USBE bit) does
not reset this bit.
• UNLOCK: Timer Access Unlock
0: The TIMPAGE and TIMVALUE fields are locked.
1: The TIMPAGE and TIMVALUE fields are unlocked.
The TIMPAGE and TIMVALUE fields can always be read, regardless of the UNLOCK value.
• TIMPAGE: Timer Page
This field contains the page value to access a special timer register.
• TIMVALUE: Timer Value
This field selects the timer value that is written to the special time register selected by TIMPAGE. See Section 32.6.1.7 for
details.
• USBE: USBC Enable
Writing a zero to this bit will disable the USBC, USB transceiver, and USB clock inputs. This will over-ride FRZCLK settings but
not affect the value. Unless explicitly stated, all registers will become reset and read-only.
Writing a one to this bit will enable the USBC.
0: The USBC is disabled.
31 30 29 28 27 26 25 24
------UIMODUIDE
23 22 21 20 19 18 17 16
- UNLOCK TIMPAGE - - TIMVALUE
15 14 13 12 11 10 9 8
USBE FRZCLK VBUSPO OTGPADE HNPREQ SRPREQ SRPSEL VBUSHWC
76543210
STOE HNPERRE ROLEEXE BCERRE VBERRE SRPE VBUSTE IDTE