6.7.2 Programming Sequences

The following tables describe the register addresses and bit fields for the Flash controller.

Table 6-7. Register Addresses for the NVMCON Register
RegisterAddress
NVMCON0x4400_0600
NVMCONCLR0x4400_0604
NVMCONSET0x4400_0608
NVMKEY0x4400_0620
NVMADDR0x4400_0630
NVMDATA00x4400_0640
NVMDATA10x4400_0650
NVMDATA20x4400_0660
NVMDATA30x4400_0670
NVMSRCADDR0x4400_06C0
Table 6-8. Bit Fields for the NVMCON Register
Bit FieldBit Mask
WREN_MASK0x4000
NVMWR_MASK0x8000
NVMERR_MASK0x2000
BORERR_MASK0x1000
NVMOP_MASK 0x000F
WORD_NVMOP 0b0001
QUAD_NVMOP 0b0010
ROW_NVMOP 0b0011
PAGE_ERASE_NVMOP0b0100
PFM_REGION_ERASE_NVMOP 0b0101