English
Language : 

ATTINY48_1 Datasheet, PDF (25/266 Pages) ATMEL Corporation – 8-bit Microcontroller with 4/8K Bytes In-System Programmable Flash
ATtiny48/88
6. System Clock and Clock Options
6.1 Clock Systems and their Distribution
Figure 6-1 presents the principal clock systems in the AVR and their distribution. All of the clocks
need not be active at a given time. In order to reduce power consumption, the clocks to modules
not being used can be halted by using different sleep modes, as described in “Power Manage-
ment and Sleep Modes” on page 33. The clock systems are detailed below.
Figure 6-1. Clock Distribution
TWI
GENERAL
I/O MODULES
ADC
CPU
CORE
RAM
FLASH AND
EEPROM
clk TWIHS
clk I/O
clk ADC
clk CPU
CLOCK CONTROL UNIT
clk FLASH
CLOCK
PRESCALER
RESET
LOGIC
SOURCE CLOCK
WATCHDOG
CLOCK
WATCHDOG
TIMER
CLOCK
SWITCH
EXTERNAL
CLOCK
WATCHDOG
OSCILLATOR
CALIBRATED
OSCILLATOR
6.1.1
6.1.2
6.1.3
CPU Clock – clkCPU
The CPU clock is routed to parts of the system concerned with operation of the AVR core.
Examples of such modules are the General Purpose Register File, the Status Register and the
data memory holding the Stack Pointer. Halting the CPU clock inhibits the core from performing
general operations and calculations.
I/O Clock – clkI/O
The I/O clock is used by the majority of the I/O modules such as Timer/Counters, the Serial
Peripheral Interface and the External Interrupt module. Note, that some external interrupts are
detected by asynchronous logic, meaning they are recognized even if the I/O clock is halted.
Also note that the start condition detection of the Two-Wire Interface module is asynchronous,
meaning TWI address recognition works in all sleep modes (even when clkI/O is halted).
Flash Clock – clkFLASH
The Flash clock controls operation of the Flash interface. The Flash clock is usually active simul-
taneously with the CPU clock.
25
8008C–AVR–03/09