AVR128DA48S NVMCTRL registers

The 7 registers of NVMCTRL (Non-volatile Memory Controller), from 0x1000, with their reset value and every field. The AVR128DA48S has 650 registers in 55 peripherals, one page each.

NVMCTRL Non-volatile Memory Controller

CTRLAControl A

Address
0x1000
Reset
0x00
Access
read/write
  1. 7–
  2. 6CMD6
  3. 5CMD5
  4. 4CMD4
  5. 3CMD3
  6. 2CMD2
  7. 1CMD1
  8. 0CMD0
1 field
FieldBitsWhat it does
CMD6:0Command
  • 0 No Command
  • 1 No Operation
  • 2 Flash Write
  • 8 Flash Page Erase
  • 9 Flash Multi-Page Erase 2 pages
  • 10 Flash Multi-Page Erase 4 pages
  • 11 Flash Multi-Page Erase 8 pages
  • 12 Flash Multi-Page Erase 16 pages
  • 13 Flash Multi-Page Erase 32 pages
  • 18 EEPROM Write
  • 19 EEPROM Erase and Write
  • 24 EEPROM Byte Erase
  • 25 EEPROM Multi-Byte Erase 2 bytes
  • 26 EEPROM Multi-Byte Erase 4 bytes
  • 27 EEPROM Multi-Byte Erase 8 bytes
  • 28 EEPROM Multi-Byte Erase 16 bytes
  • 29 EEPROM Multi-Byte Erase 32 bytes
  • 32 Chip Erase Command
  • 48 EEPROM Erase Command

CTRLBControl B

Address
0x1001
Reset
0x30
Access
read/write
  1. 7FLMAPLOCK
  2. 6–
  3. 5FLMAP1
  4. 4FLMAP0
  5. 3–
  6. 2APPDATAWP
  7. 1BOOTRP
  8. 0APPCODEWP
5 fields
FieldBitsWhat it does
FLMAPLOCK7Flash Mapping Lock
FLMAP5:4Flash Mapping in Data space
  • 0 Flash section 0
  • 1 Flash section 1
  • 2 Flash section 2
  • 3 Flash section 3
APPDATAWP2Application Data Write Protect
BOOTRP1Boot Read Protect
APPCODEWP0Application Code Write Protect

STATUSStatus

Address
0x1002
Reset
0x00
Access
read only
  1. 7–
  2. 6ERROR2
  3. 5ERROR1
  4. 4ERROR0
  5. 3–
  6. 2–
  7. 1EEBUSY
  8. 0FBUSY
3 fields
FieldBitsWhat it does
ERROR6:4Write error
  • 0 No Error
  • 1 Write command not selected
  • 2 Write to section not allowed
  • 3 Selecting new write command while write command already seleted
  • 4 Starting a new programming operation before previous is completed
EEBUSY1EEPROM busy
FBUSY0Flash busy

INTCTRLInterrupt Control

Address
0x1003
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0EEREADY
1 field
FieldBitsWhat it does
EEREADY0EEPROM Ready

INTFLAGSInterrupt Flags

Address
0x1004
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0EEREADY
1 field
FieldBitsWhat it does
EEREADY0EEPROM Ready

DATAData

Address
0x1006
Reset
0x0000
Access
read/write
Size
16-bit

ADDRAddress

Address
0x1008
Reset
0x00000000
Access
read/write
Size
32-bit