Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

ATMEGA329P Folha de dados(PDF) 23 Page - ATMEL Corporation

Nome de Peças ATMEGA329P
Descrição Electrónicos  8-bit Microcontroller with 32K Bytes In-System Programmable Flash
PDF  385 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  ATMEL [ATMEL Corporation]
Página de início  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA329P Folha de dados(HTML) 23 Page - ATMEL Corporation

Back Button ATMEGA329P_1 Datasheet HTML 19Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 20Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 21Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 22Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 23Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 24Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 25Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 26Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 27Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 385 page
background image
23
8021E–AVR–07/09
ATmega329P/3290P
7.6.4
EECR – The EEPROM Control Register
• Bits 7:4 – Res: Reserved Bits
These bits are reserved bits 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 inter-
rupt 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. When EEMWE has
been written to one by software, hardware clears the bit to zero after four clock cycles. See the
description of the EEWE bit for an EEPROM write procedure.
• Bit 1 – EEWE: EEPROM Write Enable
The EEPROM Write Enable Signal EEWE is the write strobe to the EEPROM. When address
and data are correctly set up, the EEWE bit must be written to one to write the value into the
EEPROM. The EEMWE bit must be written to one before a logical one is written to EEWE, oth-
erwise 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 EEWE becomes zero.
2.
Wait until SPMEN in SPMCSR becomes zero.
3.
Write new EEPROM address to EEAR (optional).
4.
Write new EEPROM data to EEDR (optional).
5.
Write a logical one to the EEMWE bit while writing a zero to EEWE in EECR.
6.
Within four clock cycles after setting EEMWE, write a logical one to EEWE.
The EEPROM can not be programmed during a CPU write to the Flash memory. The software
must check that the Flash programming is completed before initiating a new EEPROM write.
Step 2 is only relevant if the software contains a Boot Loader allowing the CPU to program the
Flash. If the Flash is never being updated by the CPU, step 2 can be omitted. See ”Boot Loader
Support – Read-While-Write Self-Programming” on page 278 for details about Boot
programming.
Caution: An interrupt between step 5 and step 6 will make the write cycle fail, since the
EEPROM Master Write Enable will time-out. If an interrupt routine accessing the EEPROM is
interrupting another EEPROM access, the EEAR or EEDR Register will be modified, causing the
interrupted EEPROM access to fail. It is recommended to have the Global Interrupt Flag cleared
during all the steps to avoid these problems.
When the write access time has elapsed, the EEWE bit is cleared by hardware. The user soft-
ware can poll this bit and wait for a zero before writing the next byte. When EEWE has been set,
the CPU is halted for two cycles before the next instruction is executed.
Bit
765
4321
0
0x1F (0x3F)
EERIE
EEMWE
EEWE
EERE
EECR
Read/Write
R
R
R
R
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
X
0


Nº de peça semelhante - ATMEGA329P_1

Fabricante ElectrônicoNome de PeçasFolha de dadosDescrição Electrónicos
logo
ATMEL Corporation
ATMEGA329P ATMEL-ATMEGA329P_14 Datasheet
734Kb / 427P
High Performance, Low Power Atmel
More results

Descrição semelhante - ATMEGA329P_1

Fabricante ElectrônicoNome de PeçasFolha de dadosDescrição Electrónicos
logo
ATMEL Corporation
ATMEGA325P ATMEL-ATMEGA325P Datasheet
346Kb / 25P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA325P ATMEL-ATMEGA325P_06 Datasheet
3Mb / 336P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA329P ATMEL-ATMEGA329P_08 Datasheet
471Kb / 25P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA325P ATMEL-ATMEGA325P_08 Datasheet
332Kb / 22P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA324PA ATMEL-ATMEGA324PA Datasheet
546Kb / 24P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA32A ATMEL-ATMEGA32A Datasheet
427Kb / 18P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA32 ATMEL-ATMEGA32_08 Datasheet
5Mb / 346P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA32A ATMEL-ATMEGA32A_09 Datasheet
518Kb / 18P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA328P ATMEL-ATMEGA328P_09 Datasheet
5Mb / 345P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA32A ATMEL-ATMEGA32A_1 Datasheet
6Mb / 352P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
More results


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


Folha de dados Download

Go To PDF Page


Ligação URL




Privacy Policy
ALLDATASHEETPT.COM
ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   roca de Link   |   Lista de Fabricantes
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