
147
8266A-MCU Wireless-12/09
11 System Clock and Clock Options
This section describes the clock options for the AVR microcontroller.
11.1 Overview
Figure 11-1 below 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 chapter "Power Management and Sleep Modes"
on page 156. The clock systems are detailed below.
Figure 11-1. Clock Distribution
Asynchronous
Timer
General I/O
Modules
ADC CPU Core RAM
Flash and
EEPROM
Radio
Transceiver
AVR Clock
Control Unit
System Clock
Prescaler
Reset Logic Watchdog Timer
Timer/Counter
Oscillator
(32.768kHz)
Transceiver Crystal
Oscillator
(16MHz)
Calibrated RC
Oscillator (16MHz)
Watchdog Oscillator
(128kHz)
TOSC1
TOSC2
XTAL1
XTAL2
Clock
Multiplexer
1/16 Clock Prescaler
Clock
Multiplexer
Clock
Multiplexer
cp2core
cp2adc
cp2io
cp2ext
cp2ramregf
cp2calib
cp2flash
Source clock
cp2wdt
External Clock
CLKI
1:2
Prescaler
Symbol
Counter
AMR
11.2 Clock Systems and their Distribution
11.2.1 CPU Clock – clk
CPU
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.
Komentarze do niniejszej Instrukcji