
NUC126
Aug. 08, 2018
Page
186
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
Clock Source Select Control Register 0 (CLK_CLKSEL0)
Register
Offset
R/W
Description
Reset Value
CLK_CLKSEL
0
0x10
R/W
Clock Source Select Control Register 0
0x0000_003X
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
PCLK1SEL
PCLK0SEL
STCLKSEL
HCLKSEL
Bits
Description
[31:8]
Reserved
Reserved.
[7]
PCLK1SEL
PCLK1 Clock Source Selection (Write Protect)
0 = APB1 BUS clock source from HCLK.
1 = APB1 BUS clock source from HCLK/2.
Note:
This bit is write protected. Refer to the SYS_REGLCTL register.
[6]
PCLK0SEL
PCLK0 Clock Source Selection (Write Protect)
0 = APB0 BUS clock source from HCLK.
1 = APB0 BUS clock source from HCLK/2.
Note:
This bit is write protected. Refer to the SYS_REGLCTL register.
[5:3]
STCLKSEL
Cortex
®
-M0 SysTick Clock Source Selection (Write Protect)
If SYST_CTRL[2]=0, SysTick uses listed clock source below.
000 = Clock source from HXT.
001 = Clock source from LXT.
010 = Clock source from HXT/2.
011 = Clock source from HCLK/2.
111 = Clock source from HIRC/2.
Note1:
if SysTick clock source is not from HCLK (i.e. SYST_CTRL[2] = 0), SysTick clock
source must less than or equal to HCLK/2.
Note2:
These bits are write protected. Refer to the SYS_REGLCTL register.
[2:0]
HCLKSEL
HCLK Clock Source Selection (Write Protect)
Before clock switching, the related clock sources (both pre-select and new-select) must be
turned on.
The default value is reloaded from the value of CFOSC (CONFIG0[26:24]) in user
configuration register of Flash controller by any reset. Therefore the default value is either
000b or 111b.
000 = Clock source from HXT.
001 = Clock source from LXT.
010 = Clock source from PLL clock.