欢迎访问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文件第106页浏览型号ATMEGA64A-AU的Datasheet PDF文件第107页浏览型号ATMEGA64A-AU的Datasheet PDF文件第108页浏览型号ATMEGA64A-AU的Datasheet PDF文件第109页浏览型号ATMEGA64A-AU的Datasheet PDF文件第111页浏览型号ATMEGA64A-AU的Datasheet PDF文件第112页浏览型号ATMEGA64A-AU的Datasheet PDF文件第113页浏览型号ATMEGA64A-AU的Datasheet PDF文件第114页  
ATmega64A  
the flag. When the I-bit in SREG, OCIE0 (Timer/Counter0 Compare Match Interrupt Enable), and  
OCF0 are set (one), the Timer/Counter0 Compare Match Interrupt is executed.  
• Bit 0 – TOV0: Timer/Counter0 Overflow Flag  
The bit TOV0 is set (one) when an overflow occurs in Timer/Counter0. TOV0 is cleared by hard-  
ware when executing the corresponding interrupt handling vector. Alternatively, TOV0 is cleared  
by writing a logic one to the flag. When the SREG I-bit, TOIE0 (Timer/Counter0 Overflow Inter-  
rupt Enable), and TOV0 are set (one), the Timer/Counter0 Overflow interrupt is executed. In  
PWM mode, this bit is set when Timer/Counter0 changes counting direction at 0x00.  
14.11.7 SFIOR – Special Function IO Register  
Bit  
0x20 (0x40)  
7
6
5
4
3
ACME  
R/W  
0
2
1
PSR0  
R/W  
0
0
PSR321  
R/W  
0
TSM  
PUD  
R/W  
0
SFIOR  
Read/Write  
Initial Value  
R/W  
0
R
0
R
0
R
0
• Bit 7 – TSM: Timer/Counter Synchronization Mode  
Writing TSM bit to one activates the Timer/Counter Synchronization mode. In this mode, the  
value that is written to PSR0 and PSR321 bits is kept, hence keeping the corresponding pres-  
caler 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 configura-  
tion. When the TSM bit written zero, the PSR0 and PSR321 bits are cleared by hardware, and  
the Timer/Counters start counting simultaneously.  
• Bit 1 – PSR0: Prescaler Reset Timer/Counter0  
When this bit is one, the Timer/Counter0 prescaler will be reset. The bit is normally cleared  
immediately by hardware. If this bit is written when Timer/Counter0 is operating in Asynchronous  
mode, the bit will remain one until the prescaler has been reset. The bit will not be cleared by  
hardware if the TSM bit is set.  
110  
8160C–AVR–07/09  
 复制成功!