Expand description
MSPI ECC control register
Structs§
- MSPI ECC control register
Type Aliases§
- Field
ECC_CONTINUE_RECORD_ERR_EN
reader - 1: The error information in SPI_MEM_ECC_ERR_BITS and SPI_MEM_ECC_ERR_ADDR is updated when there is an ECC error. 0: SPI_MEM_ECC_ERR_BITS and SPI_MEM_ECC_ERR_ADDR record the first ECC error information. - Field
ECC_ERR_BITS
reader - Records the first ECC error bit number in the 16 bytes(From 0~127, corresponding to byte 0 bit 0 to byte 15 bit 7) - Register
ECC_CTRL
reader - Field
SPI_FMEM_ECC_ADDR_EN
reader - Set this bit to enable MSPI ECC address conversion, no matter MSPI accesses to the ECC region or non-ECC region of flash. If there is no ECC region in flash, this bit should be 0. Otherwise, this bit should be 1. - Field
SPI_FMEM_ECC_ERR_INT_EN
reader - Set this bit to calculate the error times of MSPI ECC read when accesses to flash. - Field
SPI_FMEM_ECC_ERR_INT_NUM
reader - Set the error times of MSPI ECC read to generate MSPI SPI_MEM_ECC_ERR_INT interrupt. - Field
SPI_FMEM_PAGE_SIZE
reader - Set the page size of the flash accessed by MSPI. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes. - Field
SPI_FMEM_PAGE_SIZE
writer - Set the page size of the flash accessed by MSPI. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes. - Field
USR_ECC_ADDR_EN
reader - Set this bit to enable ECC address convert in SPI0/1 USR_CMD transfer. - Register
ECC_CTRL
writer