29.16.16 PMC Status Register
| Name: | PMC_SR |
| Offset: | 0x0068 |
| Reset: | 0x00030008 |
| Property: | Read-only |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| PLL_INT | GCLKRDY | ||||||||
| Access | R | R | |||||||
| Reset | 0 | 0 |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| MCKMON | XT32KERR | FOS | CFDS | CFDEV | MOSCRCS | MOSCSELS | |||
| Access | R | R | R | R | R | R | R | ||
| Reset | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| PCKRDY1 | PCKRDY0 | ||||||||
| Access | R | R | |||||||
| Reset | 0 | 0 |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| MCKRDY | MOSCXTS | ||||||||
| Access | R | R | |||||||
| Reset | 1 | 0 |
Bit 25 – PLL_INT PLL Interrupt Status
| Value | Description |
|---|---|
| 0 | No PLL interrupt has occurred. |
| 1 | A PLL interrupt has occurred. PLL interrupt is defined by the configuration of PMC_IMR. |
Bit 24 – GCLKRDY GCLK Ready
| Value | Description |
|---|---|
| 0 | A GCLK is not ready to use (clock switching in progress). |
| 1 | All GCLKs are switched to their selected source clock and ready to use. |
Bit 23 – MCKMON Main System Bus Clock Clock Monitor Error
This status is cleared on read.
| Value | Description |
|---|---|
| 0 | Main system bus clock is correct or the CPU clock monitor is disabled. |
| 1 | Main system bus clock is incorrect or has been incorrect for an elapsed period of time since the monitoring has been enabled. |
Bit 21 – XT32KERR Slow Crystal Oscillator Error
| Value | Description |
|---|---|
| 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. |
Bit 20 – FOS Clock Failure Detector Fault Output Status
| Value | Description |
|---|---|
| 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 19 – CFDS Clock Failure Detector Status
| Value | Description |
|---|---|
| 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 18 – CFDEV Clock Failure Detector Event
| Value | Description |
|---|---|
| 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 17 – MOSCRCS Main RC Oscillator Status
| Value | Description |
|---|---|
| 0 | The main RC oscillator is not stabilized. |
| 1 | The main RC oscillator is stabilized. |
Bit 16 – MOSCSELS Main Clock Source Oscillator Selection Status
| Value | Description |
|---|---|
| 0 | Selection is in progress. |
| 1 | Selection is done. |
Bits 8, 9 – PCKRDYx Programmable Clock Ready Status
| Value | Description |
|---|---|
| 0 | Programmable clock x is not ready. |
| 1 | Programmable clock x is ready. |
Bit 3 – MCKRDY Main System Bus Clock Status
| Value | Description |
|---|---|
| 0 | Main system bus clock is not ready. |
| 1 | Main system bus clock is ready. |
Bit 0 – MOSCXTS Main Crystal Oscillator Status
| Value | Description |
|---|---|
| 0 | The main crystal oscillator is not stabilized. |
| 1 | The main crystal oscillator is stabilized. |
