Data Sheet
366
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
Table 21-6. Command
Note: 1. Only applicable in Device Variant B. Reserved in Device Variant A.
CMD[6:0] Name Description
0x00-0x01 - Reserved
0x02 ER
Erase Row - Erases the row addressed by the ADDR
register.
0x03 - Reserved
0x04 WP
Write Page - Writes the contents of the page buffer to the
page addressed by the ADDR register.
0x05 EAR
Erase Auxiliary Row - Erases the auxiliary row addressed by
the ADDR register. This command can be given only when
the security bit is not set and only to the user configuration
row.
0x06 WAP
Write Auxiliary Page - Writes the contents of the page buffer
to the page addressed by the ADDR register. This command
can be given only when the security bit is not set and only to
the user configuration row.
0x07-0x09 - Reserved
0x0A SF Security Flow Command
0x0B-0x0E - Reserved
0x0F WL Write lockbits
0x10-0x193F - Reserved
0x1A RWWEEER
(1)
RWWEE Erase Row - Erases the row addressed by the
ADDR register in the RWWEE array.
0x1B - Reserved
0x1C RWWEEWP
(1)
RWWEE Write Page - Writes the contents of the page buffer
to the page addressed by the ADDR register in the RWWEE
array.
0x1D-0x3F - Reserved
0x40 LR
Lock Region - Locks the region containing the address
location in the ADDR register.
0x41 UR
Unlock Region - Unlocks the region containing the address
location in the ADDR register.
0x42 SPRM Sets the power reduction mode.
0x43 CPRM Clears the power reduction mode.
0x44 PBC Page Buffer Clear - Clears the page buffer.
0x45 SSB
Set Security Bit - Sets the security bit by writing 0x00 to the
first byte in the lockbit row.
0x46 INVALL Invalidates all cache lines.
0x47-0x7F - Reserved