11.5.4 Main Clock Status

All Status bits, except SOSC, will be available only if the respective source is requested as the main clock or by a peripheral. If the oscillator RUNSTDBY bit is set and the oscillator is unused/not requested, these bits will be ‘0’.

Name: MCLKSTATUS
Offset: 0x03
Reset: 0x00
Property: -

Bit 76543210 
   PLLSEXTSXOSC32KSOSC32KSOSCHFSSOSC 
Access RRRRRR 
Reset 000000 

Bit 5 – PLLS PLL Status

ValueDescription
0 PLL is not stable
1 PLL is stable

Bit 4 – EXTS External Clock Status

ValueDescription
0 EXTCLK is not stable
1 EXTCLK is stable

Bit 3 – XOSC32KS 32.768 kHz External Crystal Oscillator Status

ValueDescription
0 XOSC32K is not stable
1 XOSC32K is stable

Bit 2 – OSC32KS 32.768 kHz Ultra Low-Power Internal Oscillator Status

ValueDescription
0 OSC32K is not stable
1 OSC32K is stable

Bit 1 – OSCHFS Internal High-Frequency Oscillator Status

ValueDescription
0 OSCHF is not stable
1 OSCHF is stable

Bit 0 – SOSC Main Clock Oscillator Changing

ValueDescription
0 The clock source for CLK_MAIN is not undergoing a switch
1 The clock source for CLK_MAIN is undergoing a switch and will change as soon as the new source is stable