12.5.2 NVMCON1
Name: | NVMCON1 |
Address: | 0xF80 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
SECER | SECWR | WR | SECRD | RD | |||||
Access | R/S/HC | R/S/HC | R/S/HC | R/S/HC | R/S/HC | ||||
Reset | 0 | 0 | 0 | 0 | 0 |
Bit 6 – SECER
Value | Name | Description |
---|---|---|
1 | NVMADR points to PFM | Immediately following the sector erase unlock sequence, perform a sector erase operation. Stays set until operation is complete. Cannot be cleared by software. |
0 | NVMADR points to PFM | NVM sector erase operation is complete and inactive |
Bit 5 – SECWR
Value | Name | Description |
---|---|---|
1 | NVMADR points to PFM or CONFIG | Immediately following the sector write unlock sequence, initiates the PFM sector write operation. Stays set until the write is complete. Cannot be cleared by software. |
0 | NVMADR points to PFM or CONFIG | NVM sector write operation is complete and inactive |
Bit 4 – WR
Value | Name | Description |
---|---|---|
1 | NVMADR points to DFM | Immediately following the DFM write unlock sequence, initiates a DFM byte erase/write sequence using data in the NVMDATL register. Stays set until the operation is complete. Cannot be cleared by software. |
1 | NVMADR points to PFM | Immediately following the PFM write unlock sequence, initiates an NVM word write sequence using data in the NVMDATH:L register pair. Stays set until the operation is complete. Cannot be cleared by software. |
0 | NVMADR points to PFM or DFM | NVM byte/word write operation is complete and inactive |
Bit 1 – SECRD
Value | Name | Description |
---|---|---|
1 | NVMADR points to PFM or CONFIG | Immediately following the sector read unlock sequence, initiates a read of one full sector from PFM into sector RAM. Stays set until the read is complete. Cannot be cleared by software. |
0 | NVMADR points to PFM or CONFIG | PFM sector read operation is complete and inactive |
Bit 0 – RD
Value | Name | Description |
---|---|---|
1 | NVMADR points to DFM | Initiates a read of one byte from DFM into the NVMDATL register. Stays set until the read is complete. Cannot be cleared by software. |
1 | NVMADR points to PFM | Initiates a read of one word from PFM into the NVMDATH:L registers. Stays set until the read is complete. Cannot be cleared by software. |
0 | NVMADR points to PFM or DFM | NVM read operation is complete and inactive |