Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Data Sheet
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Product codes
ATSAMD21-XPRO
354
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
Table 21-6. Command
CMD[6:0]
Name
Description
0x0-0x1
Reserved
0x2
ER
Erase Row - Erases the row addressed by the ADDR
register.
register.
0x3
Reserved
0x4
WP
Write Page - Writes the contents of the page buffer to the
page addressed by the ADDR register.
page addressed by the ADDR register.
0x5
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.
the ADDR register. This command can be given only when
the security bit is not set and only to the user configuration
row.
0x6
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.
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.
0x7-0x9
Reserved
0xA
SF
Security Flow Command
0xB-0xE
Reserved
0xF
WL
Write lockbits
0x10-0x3F
Reserved
0x40
LR
Lock Region - Locks the region containing the address
location in the ADDR register.
location in the ADDR register.
0x41
UR
Unlock Region - Unlocks the region containing the address
location in the ADDR register.
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.
first byte in the lockbit row.
0x46
INVALL
Invalidates all cache lines.
0x47-0x7F
Reserved