欢迎访问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文件第106页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第107页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第108页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第109页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第111页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第112页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第113页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第114页  
Timer/Counter Prescaler Figure 45. Prescaler for Timer/Counter0  
clkI/O  
clkT0S  
10-BIT T/C PRESCALER  
Clear  
TOSC1  
AS0  
PSR0  
0
CS00  
CS01  
CS02  
TIMER/COUNTER0 CLOCK SOURCE  
clkT0  
The clock source for Timer/Counter0 is named clkT0. clkT0 is by default connected to the  
main system clock clkI/O. By setting the AS0 bit in ASSR, Timer/Counter0 is asynchro-  
nously clocked from the TOSC1 pin. This enables use of Timer/Counter0 as a Real  
Time Counter (RTC). When AS0 is set, pins TOSC1 and TOSC2 are disconnected from  
Port C. A crystal can then be connected between the TOSC1 and TOSC2 pins to serve  
as an independent clock source for Timer/Counter0. The Oscillator is optimized for use  
with a 32.768 kHz crystal. Applying an external clock source to TOSC1 is not  
recommended.  
For Timer/Counter0, the possible prescaled selections are: clkT0S/8, clkT0S/32, clkT0S/64,  
clkT0S/128, clkT0S/256, and clkT0S/1024. Additionally, clkT0S as well as 0 (stop) may be  
selected. Setting the PSR0 bit in SFIOR resets the prescaler. This allows the user to  
operate with a predictable prescaler.  
Special Function IO Register –  
SFIOR  
Bit  
7
6
5
4
3
ACME  
R/W  
0
2
1
PSR0  
R/W  
0
0
PSR321  
R/W  
0
TSM  
R/W  
0
PUD  
R/W  
0
SFIOR  
Read/Write  
Initial Value  
R
0
R
0
R
0
• Bit 7 – TSM: Timer/Counter Synchronization Mode  
Writing the TSM bit to one activates the Timer/Counter Synchronization mode. In this  
mode, the value that is written to the PSR0 and PSR321 bits is kept, hence keeping the  
corresponding prescaler reset signals asserted. This ensures that the corresponding  
Timer/Counters are halted and can be configured to the same value without the risk of  
one of them advancing during configuration. When the TSM bit is written to zero, the  
PSR0 and PSR321 bits are cleared by hardware, and the Timer/Counters start counting  
simultaneously.  
• Bit 1 – PSR0: Prescaler Reset Timer/Counter0  
110  
ATmega128(L)  
2467P–AVR–08/07  
 复制成功!