Datasheet

80
7766F–AVR–11/10
ATmega16/32U4
10.3.5 Alternate Functions of Port E
The Port E pins with alternate functions are shown in Table 10-11.
INT6/AIN0 – 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.
•HWB
– Port E, Bit 2
HWB allows to execute the bootloader section after reset when tied to ground during external
reset pulse. The HWB mode of this pin is active only when the HWBE fuse is enable. During nor-
mal operation (excluded Reset), this pin acts as a general purpose I/O.
10.3.6 Alternate Functions of Port F
The Port F has an alternate function as analog input for the ADC as shown in Table 10-13. If
some Port F pins are configured as outputs, it is essential that these do not switch when a con-
version is in progress. This might corrupt the result of the conversion. If the JTAG interface is
Table 10-11. Port E Pins Alternate Functions
Port Pin Alternate Function
PE7 Not present on pin-out.
PE6 INT6/AIN0 (External Interrupt 6 Input or Analog Comparator Positive Input)
PE5
Not present on pin-out.PE4
PE3
PE2 HWB
(Hardware bootloader activation)
PE1
Not present on pin-out.
PE0
Table 10-12. Overriding Signals for Alternate Functions PE6, PE2
Signal
Name PE6/INT6/AIN0 PE2/HWB
PUOE 0 0
PUOV 0 0
DDOE 0 0
DDOV 0 1
PVOE 0 0
PVOV 0 0
DIEOE INT6 ENABLE 0
DIEOV 1 0
DI INT6 INPUT HWB
AIO AIN0 INPUT -