Datasheet
86
7593L–AVR–09/12
AT90USB64/128
11.3.6 Alternate functions of Port E
The Port E pins with alternate functions are shown in Table 11-15.
• INT7/AIN.1/UVCON – Port E, bit 7
INT7, External Interrupt source 7: The PE7 pin can serve as an external interrupt source.
AIN1 – Analog Comparator Negative input. This pin is directly connected to the negative input of
the Analog Comparator.
UVCON - When using USB host mode, this pin allows to control an external VBUS generator
(active high).
• INT6/AIN.0 – Port E, bit 6
INT6, External Interrupt source 6: The PE6 pin can serve as an external interrupt source.
AIN0 – Analog Comparator Negative input. This pin is directly connected to the negative input of
the Analog Comparator.
• INT5/TOSC2 – Port E, bit 5
INT5, External Interrupt source 5: The PE5 pin can serve as an External Interrupt source.
TOSC2, Timer/Counter2 Oscillator pin1. When the AS2 bit in ASSR is set to enable asynchro-
nous clocking of Timer/Counter2, pin PE5 is disconnected from the port, and becomes the ouput
of the inverting Oscillator amplifier. In this mode, a crystal is connected to this pin, and the pin
can not be used as an I/O pin.
• INT4/TOSC1 – Port E, bit 4
INT4, External Interrupt source 4: The PE4 pin can serve as an External Interrupt source.
TOSC1, Timer/Counter2 Oscillator pin2. When the AS2 bit in ASSR is set to enable asynchro-
nous clocking of Timer/Counter2, pin PE4 is disconnected from the port, and becomes the input
of the inverting Oscillator amplifier. In this mode, a crystal is connected to this pin, and the pin
can not be used as an I/O pin.
• UID – Port E, bit 3
ID pin of the USB bus.
Table 11-15. Port E pins alternate functions.
Port pin Alternate function
PE7
INT7/AIN.1/UVCON (External Interrupt 7 Input, Analog Comparator Positive Input
or VBUS Control)
PE6 INT6/AIN.0 (External Interrupt 6 Input or Analog Comparator Positive Input)
PE5 INT5/TOSC2 (External Interrupt 5 Input or RTC Oscillator Timer/Counter2))
PE4 INT4/TOSC2 (External Interrupt4 Input or RTC Oscillator Timer/Counter2)
PE3 UID
PE2 ALE/HWB (Address latch to extenal memory or Hardware bootloader activation)
PE1 RD
(Read strobe to external memory)
PE0 WR
(Write strobe to external memory)