AT90USB1286-16MU ATMEL [ATMEL Corporation], AT90USB1286-16MU Datasheet - Page 262

no-image

AT90USB1286-16MU

Manufacturer Part Number
AT90USB1286-16MU
Description
Microcontroller with 64/128K Bytes of ISP Flash and USB Controller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90USB1286-16MU
Manufacturer:
ST
0
21.12 ID detection
21.13 Registers description
21.13.1
262
AT90USB64/128
USB general registers
The ID pin transition is detected thanks to the following architecture:
Figure 21-17. ID Detection Input Block Diagram
The ID pin can be used to detect the USB mode (Peripheral or Host) or software selected. This
allows the UID pin to be used has general purpose I/O even when USB interface is enable.
When the UID pin is selected, by default, (no A-plug or B-plug), the macro is in the Peripheral
mode (internal pull-up). The IDTI interrupt is triggered when a A-plug (Host) is plugged or
unplugged. The interrupt is not triggered when a B-plug (Periph) is plugged or unplugged.
ID detection is independant of USB global interface enable.
• 7 – UIMOD: USB Mode Bit
This bit has no effect when the UIDE bit is set (external UID pin activated). Set to enable the
USB device mode. Clear to enable the USB host mode
• 6 – UIDE: UID pin Enable
Set to enable the USB mode selection (peripheral/host) through the UID pin. Clear to enable the
USB mode selection (peripheral/host) with UIMOD bit register.
UIDE should be modified only when the USB interface is disabled (USBE bit cleared).
• 5 – Reserved
The value read from this bit is always 0. Do not set this bit.
• 4 – UVCONE: UVCON pin Enable
Set to enable the UVCON pin control. Clear to disable the UVCON pin control. This bit should be
set only when the USB interface is enable.
Bit
Read/Write
Initial Value
UIMOD
R/W
UID
7
1
UIDE
R/W
6
0
VDD
R
5
0
Internal Pull Up
UHWCON.7
UIMOD
UVCONE
R/W
4
0
UHWCON.6
1
0
UIDE
R
3
0
USBSTA.1
ID
R
2
0
R
1
0
UVREGE
R/W
0
0
UHWCON
7593A–AVR–02/06

Related parts for AT90USB1286-16MU