Datasheet

Table Of Contents
413
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
30.16.6 SMC Write Protect Mode Register
Name: SMC_WPMR
Address: 0xFFFFEAE4
Access: Read-write
Reset: See Table 30-8
WPEN: Write Protect Enable
0 = Disables the Write Protect if WPKEY corresponds to 0x534D43 (“SMC” in ASCII).
1 = Enables the Write Protect if WPKEY corresponds to 0x534D43 (“SMC” in ASCII).
Protects the registers listed below:
Section 30.16.1 ”SMC Setup Register”
Section 30.16.2 ”SMC Pulse Register”
Section 30.16.3 ”SMC Cycle Register”
Section 30.16.4 ”SMC MODE Register”
Section 30.16.5 ”SMC DELAY I/O Register”
WPKEY: Write Protect KEY
Should be written at value 0x534D43 (“SMC” in ASCII). Writing any other value in this field aborts the write operation of the
WPEN bit. Always reads as 0.
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