
NUC126
Aug. 08, 2018
Page
129
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
Register Lock Control Register (SYS_REGLCTL)
Register
Offset
R/W
Description
Reset Value
SYS_REGLCTL
0x100
R/W
Register Lock Control Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
7
6
5
4
3
2
1
0
REGLCTL
REGLCTL[0]
REGLCTL
Bits
Description
[31:8]
Reserved
Reserved.
[7:1]
REGLCTL
Register Lock Control Code (Write Only)
Some registers have write-protection function. Writing these registers have to disable the
protected function by writing the sequence value “59h”, “16h”, “88h” to this field. After this
sequence is completed, the REGLCTL bit will be set to 1 and write-protection registers can
be normal write.
[0]
REGLCTL[0]
Register Lock Control Disable Index (Read Only)
0 = Write-protection Enabled for writing protected registers. Any write to the protected
register is ignored.
1 = Write-protection Disabled for writing protected registers.
The Protected registers are:
SYS_IPRST0
: address 0x5000_0008
SYS_BODCTL
: address 0x5000_0018
SYS_PORCTL
: address 0x5000_0024
SYS_VREFCTL:
address 0x5000_0028
SYS_SRAM_BISTCTL:
address 0x5000_00D0
CLK_PWRCTL[13]:
address 0x5000_0200 (
HIRC48 Enable Bit)
CLK_PWRCTL[12]:
address 0x5000_0200 (
HXT Crystal Type Select Bit)
CLK_PWRCTL[11:10]:
address 0x5000_0200 (
HXT Gain Control Bit)
CLK_PWRCTL[7]:
address 0x5000_0200 (
System Power-down Enable)
CLK_PWRCTL[5]:
address 0x5000_0200 (
Power-down Mode Wake-up Interrupt
Enable Bit)
CLK_PWRCTL[4]:
address 0x5000_0200 (
Enable the Wake-up Delay Counter)
CLK_PWRCTL[3]:
address 0x5000_0200 (
LIRC Enable Bit)
CLK_PWRCTL[2]:
address 0x5000_0200 (
HIRC Enable Bit)
CLK_PWRCTL[1]:
address 0x5000_0200 (
LXT Enable Bit)
CLK_PWRCTL[0]:
address 0x5000_0200 (
HXT Enable Bit)
CLK_APBCLK0 [0]
: address 0x5000_0208 (bit[0] is watchdog clock enable)
CLK_CLKSEL0
: address 0x5000_0210 (for HCLK and CPU STCLK clock source select)