Datasheet

Table Of Contents
254
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
23.7.45 PIO Write Protection Mode Register
Name: PIO_WPMR
Addresses: 0xFFFFF4E4 (PIOA), 0xFFFFF6E4 (PIOB), 0xFFFFF8E4 (PIOC), 0xFFFFFAE4 (PIOD)
Access: Read/Write
Reset: See Table 23-2
For more information on write-protecting registers, refer to Section 23.5.14 ”Register Write Protection”.
WPEN: Write Protection Enable
0: Disables the write protection if WPKEY corresponds to 0x50494F (“PIO” in ASCII).
1: Enables the write protection if WPKEY corresponds to 0x50494F (“PIO” in ASCII).
See Section 23.5.14 ”Register Write Protection” for the list of registers that can be protected.
WPKEY: Write Protection Key.
31 30 29 28 27 26 25 24
WPKEY
23 22 21 20 19 18 17 16
WPKEY
15 14 13 12 11 10 9 8
WPKEY
76543210
–––––––
WPEN
Value Name Description
0x50494F PASSWD
Writing any other value in this field aborts the write operation of the WPEN bit. Always reads
as 0.