PMC_SR

PMC Status Register

  0x0068 32 Read-only 0x00030008  

PMC Status Register

Bit  31 30 29 28 27 26 25 24  
                   
Access                   
Reset                   
Bit  23 22 21 20 19 18 17 16  
      XT32KERR FOS CFDS CFDEV MOSCRCS MOSCSELS  
Access      R R R R R R  
Reset      0 0 0 0 1 1  
Bit  15 14 13 12 11 10 9 8  
  PCKRDY7 PCKRDY6 PCKRDY5 PCKRDY4 PCKRDY3 PCKRDY2 PCKRDY1 PCKRDY0  
Access  R R R R R R R R  
Reset  0 0 0 0 0 0 0 0  
Bit  7 6 5 4 3 2 1 0  
  OSCSELS LOCKU     MCKRDY   LOCKA MOSCXTS  
Access  R R     R   R    
Reset  0 0     1   0 0  

Bit 0 – MOSCXTS: Main Crystal Oscillator Status

Main Crystal Oscillator Status

ValueDescription
0 Main crystal oscillator is not stabilized.
1 Main crystal oscillator is stabilized.

Bit 1 – LOCKA: PLLA Lock Status

PLLA Lock Status

ValueDescription
0 PLLA is not locked
1 PLLA is locked.

Bit 3 – MCKRDY: Master Clock Status

Master Clock Status

ValueDescription
0 Master Clock is not ready.
1 Master Clock is ready.

Bit 6 – LOCKU: UTMI PLL Lock Status

UTMI PLL Lock Status

ValueDescription
0 UTMI PLL is not locked
1 UTMI PLL is locked.

Bit 7 – OSCSELS: Slow Clock Source Oscillator Selection

Slow Clock Source Oscillator Selection

ValueDescription
0 Slow RC oscillator is selected.
1 32.768 kHz crystal oscillator is selected.

Bits 8, 9, 10, 11, 12, 13, 14, 15 – PCKRDY: Programmable Clock Ready Status

Programmable Clock Ready Status

ValueDescription
0 Programmable Clock x is not ready.
1 Programmable Clock x is ready.

Bit 16 – MOSCSELS: Main Clock Source Oscillator Selection Status

Main Clock Source Oscillator Selection Status

ValueDescription
0 Selection is in progress.
1 Selection is done.

Bit 17 – MOSCRCS: Main RC Oscillator Status

Main RC Oscillator Status

ValueDescription
0 Main RC oscillator is not stabilized.
1 Main RC oscillator is stabilized.

Bit 18 – CFDEV: Clock Failure Detector Event

Clock Failure Detector Event

ValueDescription
0 No clock failure detection of the Main crystal oscillator clock has occurred since the last read of PMC_SR.
1 At least one clock failure detection of the Main crystal oscillator clock has occurred since the last read of PMC_SR.

Bit 19 – CFDS: Clock Failure Detector Status

Clock Failure Detector Status

ValueDescription
0 A clock failure of the Main crystal oscillator clock is not detected.
1 A clock failure of the Main crystal oscillator clock is detected.

Bit 20 – FOS: Clock Failure Detector Fault Output Status

Clock Failure Detector Fault Output Status

ValueDescription
0 The fault output of the clock failure detector is inactive.
1 The fault output of the clock failure detector is active. This status is cleared by writing a ‘1’ to FOCLR in PMC_FOCR.

Bit 21 – XT32KERR: Slow Crystal Oscillator Error

Slow Crystal Oscillator Error

ValueDescription
0 The frequency of the 32.768 kHz crystal oscillator is correct (32.768 kHz ±1%) or the monitoring is disabled.
1 The frequency of the 32.768 kHz crystal oscillator is incorrect or has been incorrect for an elapsed period of time since the monitoring has been enabled.