Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATMEGA640 Datasheet(PDF) 34 Page - Microchip Technology

Part # ATMEGA640
Description  8-bit Microcontroller with 16/32/64KB In-System Programmable Flash
PDF  436 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATMEGA640 Datasheet(HTML) 34 Page - Microchip Technology

Back Button ATMEGA640 Datasheet HTML 30Page - Microchip Technology ATMEGA640 Datasheet HTML 31Page - Microchip Technology ATMEGA640 Datasheet HTML 32Page - Microchip Technology ATMEGA640 Datasheet HTML 33Page - Microchip Technology ATMEGA640 Datasheet HTML 34Page - Microchip Technology ATMEGA640 Datasheet HTML 35Page - Microchip Technology ATMEGA640 Datasheet HTML 36Page - Microchip Technology ATMEGA640 Datasheet HTML 37Page - Microchip Technology ATMEGA640 Datasheet HTML 38Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 34 / 436 page
background image
34
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
DS40002211A
9.2
Register Description
9.2.1
EEPROM registers
9.2.1.1
EEARH and EEARL – The EEPROM Address Register
• Bits 15:12 – Res: Reserved Bits
These bits are reserved bits and will always read as zero.
• Bits 11:0 – EEAR8:0: EEPROM Address
The EEPROM Address Registers – EEARH and EEARL specify the EEPROM address in the 4Kbytes EEPROM
space. The EEPROM data bytes are addressed linearly between 0 and 4096. The initial value of EEAR is unde-
fined. A proper value must be written before the EEPROM may be accessed.
9.2.1.2
EEDR – The EEPROM Data Register
• 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 operation, the EEDR contains the data read out from
the EEPROM at the address given by EEAR.
9.2.1.3
EECR – The EEPROM Control Register
• Bits 7:6 – Res: Reserved Bits
These bits are reserved bits 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 triggered 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 9-1 on page 35. 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.
Bit
151413
12
11
10
9
8
0x22 (0x42)
––––
EEAR11
EEAR10
EEAR9
EEAR8
EEARH
0x21 (0x41)
EEAR7
EEAR6
EEAR5
EEAR4
EEAR3
EEAR2
EEAR1
EEAR0
EEARL
7654
3
2
10
Read/Write
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0000
X
X
X
X
XXXX
X
X
XX
Bit
76543210
0x20 (0x40)
MSB
LSB
EEDR
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
00000000
Bit
7
6
543
2
1
0
0x1F (0x3F)
–
–
EEPM1
EEPM0
EERIE
EEMPE
EEPE
EERE
EECR
Read/Write
R
R
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
X
X
0
0
X
0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com