Datasheet

stack pointer. Halting the CPU clock inhibits the core from performing general operations and
calculations.
11.1.2 I/O Clock – clk
I/O
The I/O clock is used by the majority of the I/O modules, like Timer/Counters, SPI, and USART. The I/O
clock is also used by the External Interrupt module, but the start condition detection in the USI module is
carried out asynchronously when clk
I/O
is halted, TWI address recognition in all sleep modes.
Note:  If a level triggered interrupt is used for wake-up from power-down, the required level must be held
long enough for the MCU to complete the wake-up to trigger the level interrupt. If the level disappears
before the end of the start-up time, the MCU will still wake up, but no interrupt will be generated. The
start-up time is defined by the SUT and CKSEL fuses.
11.1.3 PTC Clock - clk
PTC
The PTC is provided with a dedicated clock domain. This allows halting the CPU and I/O clocks in order
to reduce noise and power due to digital circuitry.
11.1.4 Flash Clock – clk
FLASH
The Flash clock controls operation of the Flash interface. The Flash clock is usually active simultaneously
with the CPU clock.
11.1.5 Asynchronous Timer Clock – clk
ASY
The asynchronous timer clock allows asynchronous Timer/Counters to be clocked directly from an
external clock or an external 32 kHz clock crystal. The dedicated clock domain allows using this Timer/
Counter as a real-time counter even when the device is in sleep mode.
11.1.6 ADC Clock – clk
ADC
The ADC is provided with a dedicated clock domain. This allows halting the CPU and I/O clocks in order
to reduce noise generated by digital circuitry. This gives more accurate ADC conversion results.
11.2 Clock Sources
The device has the following clock source options, selectable by Flash fuse bits as shown below. The
clock from the selected source is input to the AVR clock generator and routed to the appropriate modules.
Table 11-1. Device Clocking Options Select
Device Clocking Option CKSEL[3:0]
Low-Power Crystal Oscillator 1111 - 1000
Low Frequency Crystal Oscillator 0101 - 0100
Internal 128 kHz RC Oscillator 0011
Calibrated Internal RC Oscillator 0010
External Clock 0000
Reserved 0001
Note:  For all fuses, '1' means unprogrammed while '0' means programmed.
ATmega328PB
System Clock and Clock Options
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001906C-page 47