Datasheet

Table 17-12. Port E Pins Alternate Functions
Port Pin Alternate Function
PE3 ADC7 (ADC Input Channel 7)
MOSI1 (SPI1 Master Data output)
T3 (Timer/Counter 3 External Counter Input)
PCINT27
PE2 ADC6 (ADC Input Channel 6)
ICP3 (Timer/Counter3 Input Capture Input)
SS1 (SPI1 Bus Master Slave select)
PCINT26
PE1 T4 (Timer/Counter 4 External Counter Input)
SCL1 (two-wire Serial1 Bus Clock Line)
PCINT25
PE0 ACO (AC Output Channel 0)
ICP4 (Timer/Counter4 Input Capture Input)
SDA1 (two-wire Serial1 Bus Data Input/Output Line)
PCINT24
The alternate pin configuration is as follows:
ADC7/T3/MOSI1/PCINT27– Port E, Bit 3
PE3 can also be used as ADC input Channel 7.
T3: Timer/Counter3 counter source.
MOSI1: SPI1 Master Data output, Slave Data input for SPI1 channel. When the SPI1 is
enabled as a Slave, this pin is configured as an input regardless of the setting of DDE3. When
the SPI1 is enabled as a Master, the data direction of this pin is controlled by DDE3. When
the pin is forced by the SPI1 to be an input, the pull-up can still be controlled by the PORTE3
bit.
PCINT27: Pin Change Interrupt source 27. The PE3 pin can serve as an external interrupt
source.
ADC6/ICP3/SS1/PCINT26 – Port E, Bit 2
PE2 can also be used as ADC input Channel 6.
ICP3: Input Capture Pin. The PE2 pin can act as an Input Capture Pin for Timer/Counter3.
PCINT26: Pin Change Interrupt source 26. The PE2 pin can serve as an external interrupt
source.
T4/SCL1/PCINT25 – Port E, Bit 1
T4: Timer/Counter4 counter source.
SCL1: Two-wire Serial Interface1 Clock. When the TWEN bit in TWCR1 is set (one) to enable
the two-wire Serial Interface, pin PE1 is disconnected from the port and becomes the Serial
ATmega328PB
I/O-Ports
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001906C-page 117