Datasheet

482
SAM9G25 [DATASHEET]
11032C–ATARM–25-Jan-13
31.6 Write Protection Registers
To prevent any single software error that may corrupt the DMAC behavior, the DMAC address space can be write-
protected by setting the WPEN bit in the “DMAC Write Protect Mode Register” (DMAC_WPMR).
If a write access to anywhere in the DMAC address space is detected, then the WPVS flag in the DMAC Write Protect
Status Register (MCI_WPSR) is set, and the WPVSRC field indicates in which register the write access has been
attempted.
The WPVS flag is reset by writing the DMAC Write Protect Mode Register (DMAC_WPMR) with the appropriate access
key, WPKEY.
The protected registers are:
z “DMAC Global Configuration Register” on page 484
z “DMAC Enable Register” on page 485
z “DMAC Channel x [x = 0..7] Source Address Register” on page 496
z “DMAC Channel x [x = 0..7] Destination Address Register” on page 497
z “DMAC Channel x [x = 0..7] Descriptor Address Register” on page 498
z “DMAC Channel x [x = 0..7] Control A Register” on page 499
z “DMAC Channel x [x = 0..7] Control B Register” on page 501
z “DMAC Channel x [x = 0..7] Configuration Register” on page 503
z “DMAC Channel x [x = 0..7] Source Picture-in-Picture Configuration Register” on page 505
z “DMAC Channel x [x = 0..7] Destination Picture-in-Picture Configuration Register” on page 506