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

ATMEGA16L-8MC 参数 Datasheet PDF下载

ATMEGA16L-8MC图片预览
型号: ATMEGA16L-8MC
PDF下载: 下载PDF文件 查看货源
内容描述: 8位AVR微控制器具有16K字节的系统内可编程闪存 [8-bit AVR Microcontroller with 16K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 315 页 / 2880 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA16L-8MC的Datasheet PDF文件第13页浏览型号ATMEGA16L-8MC的Datasheet PDF文件第14页浏览型号ATMEGA16L-8MC的Datasheet PDF文件第15页浏览型号ATMEGA16L-8MC的Datasheet PDF文件第16页浏览型号ATMEGA16L-8MC的Datasheet PDF文件第18页浏览型号ATMEGA16L-8MC的Datasheet PDF文件第19页浏览型号ATMEGA16L-8MC的Datasheet PDF文件第20页浏览型号ATMEGA16L-8MC的Datasheet PDF文件第21页  
ATmega16(L)  
The EEPROM Address  
Register – EEARH and EEARL  
Bit  
15  
14  
13  
12  
11  
10  
9
8
EEAR8  
EEAR0  
0
EEARH  
EEARL  
EEAR7  
EEAR6  
EEAR5  
EEAR4  
EEAR3  
EEAR2  
EEAR1  
7
R
6
R
5
R
4
R
3
R
2
R
1
R
Read/Write  
Initial Value  
R/W  
R/W  
X
R/W  
0
R/W  
0
R/W  
0
R/W  
0
R/W  
0
R/W  
0
R/W  
0
X
X
X
X
X
X
X
X
• Bits 15..9 – Res: Reserved Bits  
These bits are reserved bits in the ATmega16 and will always read as zero.  
• Bits 8..0 – EEAR8..0: EEPROM Address  
The EEPROM Address Registers EEARH and EEARL – specify the EEPROM address  
in the 512 bytes EEPROM space. The EEPROM data bytes are addressed linearly  
between 0 and 511. The initial value of EEAR is undefined. A proper value must be writ-  
ten before the EEPROM may be accessed.  
The EEPROM Data Register –  
EEDR  
Bit  
7
MSB  
R/W  
0
6
5
4
3
2
1
0
LSB  
R/W  
0
EEDR  
Read/Write  
Initial Value  
R/W  
0
R/W  
0
R/W  
0
R/W  
0
R/W  
0
R/W  
0
• Bits 7..0 – EEDR7.0: EEPROM Data  
For the EEPROM write operation, the EEDR Register contains the data to be written to  
the EEPROM in the address given by the EEAR Register. For the EEPROM read oper-  
ation, the EEDR contains the data read out from the EEPROM at the address given by  
EEAR.  
The EEPROM Control  
Register – EECR  
Bit  
7
6
5
4
3
EERIE  
R/W  
0
2
EEMWE  
R/W  
0
1
EEWE  
R/W  
X
0
EERE  
R/W  
0
EECR  
Read/Write  
Initial Value  
R
0
R
0
R
0
R
0
• Bits 7..4 – Res: Reserved Bits  
These bits are reserved bits in the ATmega16 and will always read as zero.  
• Bit 3 – EERIE: EEPROM Ready Interrupt Enable  
Writing EERIE to one enables the EEPROM Ready Interrupt if the I bit in SREG is set.  
Writing EERIE to zero disables the interrupt. The EEPROM Ready interrupt generates a  
constant interrupt when EEWE is cleared.  
• Bit 2 – EEMWE: EEPROM Master Write Enable  
The EEMWE bit determines whether setting EEWE to one causes the EEPROM to be  
written. When EEMWE is set, setting EEWE within four clock cycles will write data to the  
EEPROM at the selected address If EEMWE is zero, setting EEWE will have no effect.  
17  
2466E–AVR–10/02