### FLASH_ECC_CTRL

Bit Field | Read/Write | Field Name | Description
--- | --- | --- | ---
15:8 | RW | ECC_COR_CNT_INT_THRESHOLD | Select the number of corrected errors before sending a CM33 interrupt
3 | RW | COPIER_ECC_CTRL |
2 | RW | CMD_ECC_CTRL |
0 | RW | CBUS_ECC_CTRL | Select the operating mode of the Flash ECC

Bit Field | Field Name | Value Symbol | Value Description | Hex Value
--- | --- | --- | --- | ---
15:8 | ECC_COR_CNT_INT_THRESHOLD | FLASH_ECC_COR_INT_THRESHOLD_DISABLED | Interrupt is disabled | 0x0
|  | FLASH_ECC_COR_INT_THRESHOLD_1 | Send a CM33 interrupt when one or more correctable errors are detected. | 0x1*
|  | FLASH_ECC_COR_INT_THRESHOLD_255 | Send a CM33 interrupt when 255 or more correctable errors are detected. | 0xFF
3 | COPIER_ECC_CTRL | FLASH_COPIER_ECC_DISABLE | Disables ECC when reading Flash through Flash Copier | 0x0
|  | FLASH_COPIER_ECC_ENABLE | Enables ECC when reading Flash through Flash Copier | 0x1*
2 | CMD_ECC_CTRL | FLASH_CMD_ECC_DISABLE | Disables ECC when reading Flash through Flash mapped register | 0x0
|  | FLASH_CMD_ECC_ENABLE | Enables ECC when reading Flash through Flash mapped register | 0x1*
0 | CBUS_ECC_CTRL | FLASH_CBUS_ECC_DISABLE | Disables ECC when reading Flash through CBus | 0x0
|  | FLASH_CBUS_ECC_ENABLE | Enables ECC when reading Flash through CBus | 0x1*