Datasheet

Port Pin Alternate Functions
PCINT7 (Pin Change Interrupt 7)
PB6
XTAL1 (Chip Clock Oscillator pin 1 or External clock input)
TOSC1 (Timer Oscillator pin 1)
PCINT6 (Pin Change Interrupt 6)
PB5
SCK0 (SPI0 Bus Master clock Input)
XCK0 (USART0 External Clock Input/Output)
PCINT5 (Pin Change Interrupt 5)
PB4
MISO0 (SPI0 Bus Master Input/Slave Output)
RXD1 (USART1 Receive Pin)
PCINT4 (Pin Change Interrupt 4)
PB3
MOSI0 (SPI Bus Master Output/Slave Input)
TXD1 (USART1 Transmit Pin)
OC2A (Timer/Counter2 Output Compare Match A Output)
PCINT3 (Pin Change Interrupt 3)
PB2
SS0 (SPI0 Bus Master Slave select)
OC1B (Timer/Counter1 Output Compare Match B Output)
PCINT2 (Pin Change Interrupt 2)
PB1
OC1A (Timer/Counter1 Output Compare Match A Output)
PCINT1 (Pin Change Interrupt 1)
PB0
ICP1 (Timer/Counter1 Input Capture Input)
CLKO (Divided System Clock Output)
PCINT0 (Pin Change Interrupt 0)
The alternate pin configuration is as follows:
XTAL2/TOSC2/PCINT7 – Port B, Bit 7
ATmega328PB
I/O-Ports
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001906C-page 106