![Nuvoton NuMicro NUC029 Series Скачать руководство пользователя страница 71](http://html1.mh-extra.com/html/nuvoton/numicro-nuc029-series/numicro-nuc029-series_technical-reference-manual_1720306071.webp)
NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
71
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
HIRC Trim Interrupt Status Register (SYS_HIRCTSTS)
Register
Offset
R/W
Description
Reset Value
HIRCTSTS
0x98
R/W
HIRC Trim Interrupt Status 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
Reserved
OVBDIF
CLKERIF
TFAILIF
FREQLOCK
Bits
Description
[31:4]
Reserved
Reserved.
[3]
OVBDIF
Over Boundary Status
When the over boundary function is set, if there occurs the over boundary condition, this
flag will be set.
0 = Over boundary coundition did not occur.
1 = Over boundary coundition occurred.
Note
: Write 1 to clear this flag.
[2]
CLKERIF
Clock Error Interrupt Status
When the reference clock or 48MHz internal high speed RC oscillator (HIRC) is shift larger
to unreasonable value, this bit will be set and to be an indicate that clock frequency is
inaccuracy
Once this bit is set to 1, the auto trim operation stopped and
FREQSEL(SYS_HIRCTCTL[1:0]) will be cleared to 00 by hardware automatically if
CESTOPEN(SYS_HIRCTCTL[8]) is set to 1.
If this bit is set and CLKEIEN(SYS_HIRCTIEN[2]) is high, an interrupt will be triggered to
notify the clock frequency is inaccuracy. Write 1 to clear this to 0.
0 = Clock frequency is accuracy.
1 = Clock frequency is inaccuracy.
Note
: reset by powr on reset
[1]
TFAILIF
Trim Failure Interrupt Status
This bit indicates that HIRC trim value update limitation count reached and the HIRC clock
frequency still doesn’t be locked. Once this bit is set, the auto trim operation stopped and
FREQSEL(SYS_HIRCTCTL[1:0]) will be cleared to 00 by hardware automatically.
If this bit is set and TFAILIEN(SYS_HIRCTIEN[1]) is high, an interrupt will be triggered to
notify that HIRC trim value update limitation count was reached. Write 1 to clear this to 0.
0 = Trim value update limitation count does not reach.
1 = Trim value update limitation count reached and HIRC frequency still not locked.
Note :
reset by powr on reset
[0]
FREQLOCK
HIRC Frequency Lock Status