| |||
| Home > Programmer’s Reference > Status and system control registers > Lock Register, SYS_LOCK | |||
The SYS_LOCK register at 0x10000020 locks
or unlocks access to all lockable registers.
Lockable registers cannot be modified while they are locked. This mechanism prevents the registers from being overwritten accidently. The registers are locked by default after a reset.
Figure 4.6 shows the register bit assignment.
The function of the register bits are shown in Table 4.9.
Table 4.9. SYS_LOCK register bit assignments
Bits | Access | Name | Reset | Description |
|---|---|---|---|---|
[31:20] | Write ignored, read as zero | − | 0x000 | Undefined |
| [19:17] | Write ignored, read as zero | − | b00 | Undefined |
[16] | Read-only | LOCKED | b1 | This bit indicates if the lockable registers are locked or unlocked:
|
[15:0] | Read/Write | LOCKVAL | 0x0000 | Write the value |