Datasheet

2017 Microchip Technology Inc. DS60001516A-page 223
SAM9G20
22.5 Registers for 1 ECC for a page of 512/1024/2048/4096 bytes
22.5.1 ECC Parity Register 0
Name:ECC_PR0
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.
BITADDR: Bit Address
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.
WORDADDR: Word Address
During a page read, this value contains the word address (8-bit or 16-bit word depending on the memory plane organization) where an
error occurred, if a single error was detected. If multiple errors were detected, this value is meaningless.
31 30 29 28 27 26 25 24
––––––––
23 22 21 20 19 18 17 16
––––––––
15 14 13 12 11 10 9 8
WORDADDR
76543210
WORDADDR BITADDR