Техническая Спецификация для Atmel Xplained Pro Evaluation Kit ATSAMD20-XPRO ATSAMD20-XPRO
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Модели
ATSAMD20-XPRO
267
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
20.8.1 Control A
Name:
CTRLA
Offset:
0x00
Reset:
0x0000
Property:
Write-Protected
z
Bits 15:8 – CMDEX: Command Execution
This bit group should be written with the key value 0xA5 to enable the command written to CMD to be executed. If
the bit group is written with a different key value, the write is not performed and the PROGE status bit is set.
PROGE is also set if the a previously written command is not complete.
This bit group should be written with the key value 0xA5 to enable the command written to CMD to be executed. If
the bit group is written with a different key value, the write is not performed and the PROGE status bit is set.
PROGE is also set if the a previously written command is not complete.
The key value must be written at the same time as CMD. If a command is issued through the APB bus on the
same cycle as an AHB bus access, the AHB bus access will be given priority. The command will then be executed
when the NVM block and the AHB bus are idle.
same cycle as an AHB bus access, the AHB bus access will be given priority. The command will then be executed
when the NVM block and the AHB bus are idle.
The READY status must be one when the command is issued.
Bit 0 of the CMDEX bit group will read back as one until the command is issued.
z
Bit 7 – Reserved
This bit is unused and reserved for future use. For compatibility with future devices, always write this bit to zero
when this register is written. This bit will always return zero when read.
This bit is unused and reserved for future use. For compatibility with future devices, always write this bit to zero
when this register is written. This bit will always return zero when read.
z
Bits 6:0 – CMD: Command
These bits define the command to be executed when the CMDEX key is written, as shown in
These bits define the command to be executed when the CMDEX key is written, as shown in
.
Bit
15
14
13
12
11
10
9
8
CMDEX[7:0]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
CMD[6:0]
Access
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Table 20-4. Command Bit Description
CMD[4:0]
Group Configuration
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.
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.
register. This command can be given only when the security bit is not set
and only to the user configuration row.