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

90USB82-16MU 参数 Datasheet PDF下载

90USB82-16MU图片预览
型号: 90USB82-16MU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器具有ISP功能的Flash 8 / 16K字节 [8-bit Microcontroller with 8/16K Bytes of ISP Flash]
分类和应用: 微控制器和处理器外围集成电路异步传输模式ATM时钟
文件页数/大小: 306 页 / 2299 K
品牌: ATMEL [ ATMEL ]
 浏览型号90USB82-16MU的Datasheet PDF文件第16页浏览型号90USB82-16MU的Datasheet PDF文件第17页浏览型号90USB82-16MU的Datasheet PDF文件第18页浏览型号90USB82-16MU的Datasheet PDF文件第19页浏览型号90USB82-16MU的Datasheet PDF文件第21页浏览型号90USB82-16MU的Datasheet PDF文件第22页浏览型号90USB82-16MU的Datasheet PDF文件第23页浏览型号90USB82-16MU的Datasheet PDF文件第24页  
5.3.4  
The EEPROM Control Register – EECR  
Bit  
7
R
0
6
R
0
5
4
3
2
1
0
EEPM1  
R/W  
X
EEPM0  
R/W  
X
EERIE  
R/W  
0
EEMPE  
R/W  
0
EEPE  
R/W  
X
EERE  
R/W  
0
EECR  
Read/Write  
Initial Value  
• Bits 7..6 – Res: Reserved Bits  
These bits are reserved bits in the AT90USB82/162 and will always read as zero.  
• Bits 5, 4 – EEPM1 and EEPM0: EEPROM Programming Mode Bits  
The EEPROM Programming mode bit setting defines which programming action that will be trig-  
gered when writing EEPE. It is possible to program data in one atomic operation (erase the old  
value and program the new value) or to split the Erase and Write operations in two different  
operations. The Programming times for the different modes are shown in Table 5-1. While EEPE  
is set, any write to EEPMn will be ignored. During reset, the EEPMn bits will be reset to 0b00  
unless the EEPROM is busy programming.  
Table 5-1.  
EEPROM Mode Bits  
Programming  
EEPM1 EEPM0  
Time  
3.4 ms  
1.8 ms  
1.8 ms  
Operation  
0
0
1
1
0
1
0
1
Erase and Write in one operation (Atomic Operation)  
Erase Only  
Write Only  
Reserved for future use  
• 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 inter-  
rupt when EEPE is cleared.  
• Bit 2 – EEMPE: EEPROM Master Programming Enable  
The EEMPE bit determines whether setting EEPE to one causes the EEPROM to be written.  
When EEMPE is set, setting EEPE within four clock cycles will write data to the EEPROM at the  
selected address If EEMPE is zero, setting EEPE will have no effect. When EEMPE has been  
written to one by software, hardware clears the bit to zero after four clock cycles. See the  
description of the EEPE bit for an EEPROM write procedure.  
• Bit 1 – EEPE: EEPROM Programming Enable  
The EEPROM Write Enable Signal EEPE is the write strobe to the EEPROM. When address  
and data are correctly set up, the EEPE bit must be written to one to write the value into the  
EEPROM. The EEMPE bit must be written to one before a logical one is written to EEPE, other-  
wise no EEPROM write takes place. The following procedure should be followed when writing  
the EEPROM (the order of steps 3 and 4 is not essential):  
1. Wait until EEPE becomes zero.  
2. Wait until SELFPRGEN in SPMCSR becomes zero.  
3. Write new EEPROM address to EEAR (optional).  
20  
AT90USB82/162  
7707D–AVR–07/08  
 复制成功!