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

ATMEGA64A-AU 参数 Datasheet PDF下载

ATMEGA64A-AU图片预览
型号: ATMEGA64A-AU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器,带有64K字节的系统内可编程闪存 [8-bit Microcontroller with 64K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 392 页 / 7964 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA64A-AU的Datasheet PDF文件第142页浏览型号ATMEGA64A-AU的Datasheet PDF文件第143页浏览型号ATMEGA64A-AU的Datasheet PDF文件第144页浏览型号ATMEGA64A-AU的Datasheet PDF文件第145页浏览型号ATMEGA64A-AU的Datasheet PDF文件第147页浏览型号ATMEGA64A-AU的Datasheet PDF文件第148页浏览型号ATMEGA64A-AU的Datasheet PDF文件第149页浏览型号ATMEGA64A-AU的Datasheet PDF文件第150页  
ATmega64A  
17. 8-bit Timer/Counter2 with PWM  
17.1 Features  
Single Channel Counter  
Clear Timer on Compare Match (Auto Reload)  
Glitch-free, Phase Correct Pulse width Modulator (PWM)  
Frequency Generator  
External Event Counter  
10-bit Clock Prescaler  
Overflow and Compare Match Interrupt Sources (TOV2 and OCF2)  
17.2 Overview  
Timer/Counter2 is a general purpose, single-channel, 8-bit Timer/Counter module. A simplified  
block diagram of the 8-bit Timer/Counter is shown in Figure 17-1. For the actual placement of  
I/O pins, refer to “Pin Configuration” on page 2. CPU accessible I/O Registers, including I/O bits  
and I/O pins, are shown in bold. The device-specific I/O Register and bit locations are listed in  
the “Register Description” on page 157.  
Figure 17-1. 8-bit Timer/Counter Block Diagram  
TCCRn  
count  
TOVn  
(Int.Req.)  
clear  
Control Logic  
TOP  
Clock Select  
direction  
clk  
Tn  
Edge  
Detector  
Tn  
BOTTOM  
( From Prescaler )  
Timer/Counter  
TCNTn  
= 0  
= 0xFF  
OCn  
(Int.Req.)  
Waveform  
Generation  
OCn  
=
OCRn  
17.2.1  
Registers  
The Timer/Counter (TCNT2) and Output Compare Register (OCR2) are 8-bit registers. Interrupt  
request (abbreviated to Int.Req. in the figure) signals are all visible in the Timer Interrupt Flag  
Register (TIFR). All interrupts are individually masked with the Timer Interrupt Mask Register  
146  
8160C–AVR–07/09  
 复制成功!