Is there any problem if the system registers is not relocked after the register is unlocked using SYS_UnlockReg()?

Post Reply
a_ziliu
Posts: 207
Joined: 20 Mar 2017, 10:52

31 May 2021, 15:55

SYS_UnlockReg() and SYS_UnlockReg() are registers for protecting the system. To modify the system register, you need to unlock it first and then relock it after the modification.
There is no problem if it is not locked, but it is recommended to lock the system register to prevent unintended situation and process from changing the contents of the system register.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests