AT90PWM216-16SE ATMEL [ATMEL Corporation], AT90PWM216-16SE Datasheet - Page 21

no-image

AT90PWM216-16SE

Manufacturer Part Number
AT90PWM216-16SE
Description
8-bit Microcontroller with 16K Bytes In-System Programmable flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
6.3.2
6.3.3
6.3.4
7710D–AVR–08/09
The EEPROM Address Registers – EEARH and EEARL
The EEPROM Data Register – EEDR
The EEPROM Control Register – EECR
• Bits 15..9 – Reserved Bits
These bits are reserved bits in the AT90PWM216/316 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 written before the EEPROM
may be accessed.
• 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.
• Bits 7..6 – Reserved Bits
These bits are reserved bits in the AT90PWM216/316 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 EEWE. 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
EEWE 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
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
EEAR7
EEDR7
R/W
R/W
15
R
0
X
R
7
7
0
7
0
EEAR6
EEDR6
R/W
R/W
14
R
X
6
0
R
6
0
6
0
EEAR5
EEDR5
EEPM1
R/W
R/W
R/W
13
R
5
0
X
5
0
5
X
EEAR4
EEDR4
EEPM0
R/W
R/W
R/W
12
R
X
4
0
4
0
4
X
EEAR3
EEDR3
EERIE
R/W
R/W
R/W
11
R
3
0
X
3
0
3
0
EEMWE
EEDR2
EEAR2
R/W
R/W
R/W
10
2
0
R
X
2
0
2
0
AT90PWM216/316
EEDR1
EEAR1
EEWE
R/W
R/W
R/W
1
0
1
X
R
X
9
1
0
EEDR0
EEAR8
EEAR0
EERE
R/W
R/W
R/W
R/W
0
0
0
0
8
0
X
X
Table
EEARH
EEARL
EEDR
EECR
6-1. While
21

Related parts for AT90PWM216-16SE