MemoryMap Registers
110
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Clock System (CS) Module
3.3.6 CTL5 Register (Offset = Ah) [reset = 00C5h]
CTL5 is shown in
and described in
Return to the
Clock System Control 5 Register
Figure 3-10. CTL5 Register
15
14
13
12
11
10
9
8
RESERVED
R-0h
7
6
5
4
3
2
1
0
ENSTFCNT2
ENSTFCNT1
RESERVED
SWDONE
HFXTOFFG
LFXTOFFG
R/W-1h
R/W-1h
R-0h
R-1h
R/W-0h
R/W-1h
Table 3-9. CTL5 Register Field Descriptions
Bit
Field
Type
Reset
Description
15-8
RESERVED
R
0h
Reserved. Always reads as 0.
7
ENSTFCNT2
R/W
1h
Enable start counter for HFXT when available.
0h (R/W) = DISABLE : Startup fault counter disabled. Counter is
cleared.
1h (R/W) = ENABLE : Startup fault counter enabled
6
ENSTFCNT1
R/W
1h
Enable start counter for LFXT.
0h (R/W) = DISABLE : Startup fault counter disabled. Counter is
cleared.
1h (R/W) = ENABLE : Startup fault counter enabled
5-3
RESERVED
R
0h
Reserved. Always reads as 0.
2
SWDONE
R
1h
Clock switch done. This bit indicates a clock switch is done. A clock
switch happens when changing the clock system configuration,
including any write access of CSCTL1/CSCTL2/CSCTL3 registers,
or any fail-safe condition happens. When clock switch happens, this
bit is reset automatically, and is set again after the switching is done.
Only available in CS_A module.
0h (R) = Clock switch is in progress
1h (R) = Clock switch is done
1
HFXTOFFG
R/W
0h
HFXT oscillator fault flag. If this bit is set, the OFIFG flag is also set.
HFXTOFFG is set if a HFXT fault condition exists. HFXTOFFG can
be cleared via software. If the HFXT fault condition still remains,
HFXTOFFG is set.
0h (R/W) = No fault condition occurred after the last reset
1h (R/W) = HFXT fault; an HFXT fault occurred after the last reset
0
LFXTOFFG
R/W
1h
LFXT oscillator fault flag. If this bit is set, the OFIFG flag is also set.
LFXTOFFG is set if a LFXT fault condition exists. LFXTOFFG can
be cleared via software. If the LFXT fault condition still remains,
LFXTOFFG is set.
0h (R/W) = No fault condition occurred after the last reset
1h (R/W) = LFXT fault; an LFXT fault occurred after the last reset