7 register description, 2 nvmcmd - non-volatile memory command register, Nvmcmd - non-volatile memory command reg – Rainbow Electronics ATtiny10 User Manual
Page 115: Nvmcsr - non-volatile memory control and

115
8127B–AVR–08/09
ATtiny4/5/9/10
15.7
Register Description
15.7.1
NVMCSR - Non-Volatile Memory Control and Status Register
• Bit 7 - NVMBSY: Non-Volatile Memory Busy
This bit indicates the NVM memory (Flash memory and Lock Bits) is busy, being programmed.
This bit is set when a program operation is started, and it remains set until the operation has
been completed.
• Bit 6:0 - Res: Reserved Bits
These bits are reserved and will always be read as zero.
15.7.2
NVMCMD - Non-Volatile Memory Command Register
• Bit 7:6 - Res: Reserved Bits
These bits are reserved and will always read zero.
• Bit 5:0 - NVMCMD[5:0]: Non-Volatile Memory Command
These bits define the programming commands for the flash, as shown in
Bit
7
6
5
4
3
2
1
0
0x32
NVMBSY
–
–
–
–
–
–
–
NVMCSR
Read/Write
R/W
R
R
R
R
R
R
R
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
0x33
–
–
NVMCMD[5:0]
NVMCMD
Read/Write
R
R
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Table 15-10. NVM Programming commands
Operation Type
NVMCMD
Mnemonic
Description
Binary
Hex
General
0b000000
0x00
NO_OPERATION
No operation
0b010000
0x10
CHIP_ERASE
Chip erase
Section
0b010100
0x14
SECTION_ERASE
Section erase
Word
0b011101
0x1D
WORD_WRITE
Word write