8.5.1
Control A
Name:
CTRLA
Offset:
0x00
Reset:
0x00
Property: Configuration Change Protection
Bit
7
Access
Reset
Bits 2:0 – CMD[2:0] Command
Write this bit field to issue a command. The Configuration Change Protection key for self-programming
(SPM) has to be written within four instructions before this write.
Value
Name
0x0
-
0x1
WP
0x2
ER
0x3
ERWP Erase and write page (NVMCTRL.ADDR selects which memory)
0x4
PBC
0x5
CHER Chip erase: erase Flash and EEPROM (unless EESAVE in FUSE.SYSCFG is '1')
0x6
EEER
0x7
WFU
©
2018 Microchip Technology Inc.
6
5
Description
No command
Write page buffer to memory (NVMCTRL.ADDR selects which memory)
Erase page (NVMCTRL.ADDR selects which memory)
Page buffer clear
EEPROM Erase
Write fuse (only accessible through UPDI)
Nonvolatile Memory Controller (NVMCTRL)
4
3
Datasheet Preliminary
®
megaAVR
0-Series
2
1
CMD[2:0]
R/W
R/W
0
0
DS40002015A-page 70
0
R/W
0
Need help?
Do you have a question about the megaAVR 0 Series and is the answer not in the manual?