欢迎访问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文件第199页浏览型号ATMEGA64A-AU的Datasheet PDF文件第200页浏览型号ATMEGA64A-AU的Datasheet PDF文件第201页浏览型号ATMEGA64A-AU的Datasheet PDF文件第202页浏览型号ATMEGA64A-AU的Datasheet PDF文件第204页浏览型号ATMEGA64A-AU的Datasheet PDF文件第205页浏览型号ATMEGA64A-AU的Datasheet PDF文件第206页浏览型号ATMEGA64A-AU的Datasheet PDF文件第207页  
ATmega64A  
The Address Match unit is able to compare addresses even when the AVR MCU is in sleep  
mode, enabling the MCU to wake-up if addressed by a Master.  
21.2.5  
Control Unit  
The Control unit monitors the TWI bus and generates responses corresponding to settings in the  
TWI Control Register (TWCR). When an event requiring the attention of the application occurs  
on the TWI bus, the TWI Interrupt Flag (TWINT) is asserted. In the next clock cycle, the TWI Sta-  
tus Register (TWSR) is updated with a status code identifying the event. The TWSR only  
contains relevant status information when the TWI interrupt flag is asserted. At all other times,  
the TWSR contains a special status code indicating that no relevant status information is avail-  
able. As long as the TWINT flag is set, the SCL line is held low. This allows the application  
software to complete its tasks before allowing the TWI transmission to continue.  
The TWINT flag is set in the following situations:  
• After the TWI has transmitted a START/REPEATED START condition.  
• After the TWI has transmitted SLA+R/W.  
• After the TWI has transmitted an address byte.  
• After the TWI has lost arbitration.  
• After the TWI has been addressed by own slave address or general call.  
• After the TWI has received a data byte.  
• After a STOP or REPEATED START has been received while still addressed as a Slave.  
When a bus error has occurred due to an illegal START or STOP condition.  
21.3 Two-wire Serial Interface Bus Definition  
The Two-wire Serial Interface (TWI) is ideally suited for typical microcontroller applications. The  
TWI protocol allows the systems designer to interconnect up to 128 different devices using only  
two bi-directional bus lines, one for clock (SCL) and one for data (SDA). The only external hard-  
ware needed to implement the bus is a single pull-up resistor for each of the TWI bus lines. All  
devices connected to the bus have individual addresses, and mechanisms for resolving bus  
contention are inherent in the TWI protocol.  
Figure 21-2. TWI Bus Interconnection  
VCC  
Device 1  
Device 3  
Device 2  
Device n  
R1  
R2  
........  
SDA  
SCL  
203  
8160C–AVR–07/09  
 复制成功!