The Peripheral Protect example demonstrates how to prevent a program from corrupting a PIO controller behaviour.
This package can be used with SAM V71 Xplained Ultra board.
The application shows the protective mechanism of the PIO controller. The example enables or disables write-protection of PIOB user interfaces. When the write-protection is enabled, any write attempt to the write-protected registers will be detected and the write operation aborts. So the value of the register won't be modified. Besides, the Write Protect Status Register will indicate the offset address of the register.
-- Peripheral Protect Example xxx -- -- SAMxxxxx-xx -- Compiled: xxx xx xxxx xx:xx:xx --