欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA128L-8AL 参数 Datasheet PDF下载

ATMEGA128L-8AL图片预览
型号: ATMEGA128L-8AL
PDF下载: 下载PDF文件 查看货源
内容描述: [RISC Microcontroller, 8-Bit, FLASH, 8MHz, CMOS, PQFP64, 14 X 14 MM, 1 MM HEIGHT, 0.80 MM PITCH, PLASTIC, MS-026AEB, TQFP-64]
分类和应用: 时钟微控制器外围集成电路
文件页数/大小: 391 页 / 6192 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA128L-8AL的Datasheet PDF文件第33页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第34页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第35页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第36页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第38页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第39页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第40页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第41页  
ATmega128(L)  
Asynchronous Timer  
Clock – clkASY  
The Asynchronous Timer clock allows the Asynchronous Timer/Counter to be clocked directly  
from 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.  
ADC Clock – clkADC  
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.  
XTAL Divide Control  
Register – XDIV  
The XTAL Divide Control Register is used to divide the Source clock frequency by a number in  
the range 2 - 129. This feature can be used to decrease power consumption when the require-  
ment for processing power is low.  
Bit  
7
XDIVEN  
R/W  
0
6
XDIV6  
R/W  
0
5
XDIV5  
R/W  
0
4
XDIV4  
R/W  
0
3
XDIV3  
R/W  
0
2
XDIV2  
R/W  
0
1
XDIV1  
R/W  
0
0
XDIV0  
R/W  
0
XDIV  
Read/Write  
Initial Value  
• Bit 7 – XDIVEN: XTAL Divide Enable  
When the XDIVEN bit is written one, the clock frequency of the CPU and all peripherals (clkI/O,  
clkADC, clkCPU, clkFLASH) is divided by the factor defined by the setting of XDIV6 - XDIV0. This bit  
can be written run-time to vary the clock frequency as suitable to the application.  
• Bits 6..0 – XDIV6..XDIV0: XTAL Divide Select Bits 6 - 0  
These bits define the division factor that applies when the XDIVEN bit is set (one). If the value of  
these bits is denoted d, the following formula defines the resulting CPU and peripherals clock  
frequency fCLK  
:
Source clock  
f
= ---------------------------------  
CLK  
129 d  
The value of these bits can only be changed when XDIVEN is zero. When XDIVEN is written to  
one, the value written simultaneously into XDIV6..XDIV0 is taken as the division factor. When  
XDIVEN is written to zero, the value written simultaneously into XDIV6..XDIV0 is rejected. As  
the divider divides the master clock input to the MCU, the speed of all peripherals is reduced  
when a division factor is used.  
When the system clock is divided, Timer/Counter0 can be used with Asynchronous clock only. The fre-  
quency of the asynchronous clock must be lower than 1/4th of the frequency of the scaled down Source  
clock. Otherwise, interrupts may be lost, and accessing the Timer/Counter0 registers may fail.  
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 6. Device Clocking Options Select  
Device Clocking Option  
CKSEL3..0(1)  
1111 - 1010  
1001  
External Crystal/Ceramic Resonator  
External Low-frequency Crystal  
37  
2467P–AVR–08/07  
 复制成功!