Expand description
MSPI ECC control register
Structs§
- MSPI ECC control register
Type Aliases§
- FieldECC_CONTINUE_RECORD_ERR_ENreader - 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.
- FieldECC_ERR_BITSreader - 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)
- RegisterECC_CTRLreader
- FieldSPI_FMEM_ECC_ADDR_ENreader - 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.
- FieldSPI_FMEM_ECC_ERR_INT_ENreader - Set this bit to calculate the error times of MSPI ECC read when accesses to flash.
- FieldSPI_FMEM_ECC_ERR_INT_NUMreader - Set the error times of MSPI ECC read to generate MSPI SPI_MEM_ECC_ERR_INT interrupt.
- FieldSPI_FMEM_PAGE_SIZEreader - Set the page size of the flash accessed by MSPI. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes.
- FieldSPI_FMEM_PAGE_SIZEwriter - Set the page size of the flash accessed by MSPI. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes.
- FieldUSR_ECC_ADDR_ENreader - Set this bit to enable ECC address convert in SPI0/1 USR_CMD transfer.
- RegisterECC_CTRLwriter