Datasheet
2017 Microchip Technology Inc. DS60001516A-page 237
SAM9G20
22.7.5 ECC Parity Register 4
Name:ECC_PR4
Access:Read-only
Once the entire main area of a page is written with data, the register content must be stored at any free location of the spare area
BITADDR4: corrupted bit address in the page between the 1024th and the 1279th bytes
During a page read, this value contains the corrupted bit offset where an error occurred, if a single error was detected. If multiple errors
were detected, this value is meaningless.
WORDADDR4: corrupted word address in the page between the 1024th and the 1279th bytes
During a page read, this value contains the word address (8-bit word) where an error occurred, if a single error was detected. If multiple
errors were detected, this value is meaningless.
NPARITY4
Parity N
31 30 29 28 27 26 25 24
– – ––––––
23 22 21 20 19 18 17 16
0NPARITY4
15 14 13 12 11 10 9 8
NPARITY4 0 WORDADD4
7 6 543210
WORDADDR4 BITADDR4