12.3.1 System Clock Control Register
Legend: HS = Hardware Settable bit, HC = Hardware Clearable bit, R = Readable bit
| Name: | OSCCTRL |
| Offset: | 0x3100 |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| DIAGLOCK | |||||||||
| Access | R/W | ||||||||
| Reset | 0 |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| CLKLOCK | |||||||||
| Access | R/W | ||||||||
| Reset | 0 |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| PLL2RDY | PLL1RDY | LPRCRDY | POSCRDY | BFRCRDY | FRCRDY | ||||
| Access | HS/HC/R | HS/HC/R | HS/HC/R | HS/HC/R | HS/HC/R | HS/HC/R | |||
| Reset | 0 | 0 | x | 0 | 1 | 1 |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| PLL2EN | PLL1EN | LPRCEN | POSCEN | BFRCEN | FRCEN | ||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 31 – DIAGLOCK Clock Diagnostic Lock Enable bit
| Value | Description |
|---|---|
| 1 | Clock diagnostic register (CLK_DIAG) is locked. |
| 0 | Clock diagnostic register is not locked, configurations may be modified. |
Bit 23 – CLKLOCK Clock Lock Enable bit
| Value | Description |
|---|---|
| 1 | Clock registers are locked. |
| 0 | Clock registers are not locked, configurations may be modified. |
Bit 15 – PLL2RDY PLL2 Ready Status bit
| Value | Description |
|---|---|
| 1 | PLL2 Ready |
| 0 | PLL2 Not ready |
Bit 14 – PLL1RDY PLL1 Ready Status bit
| Value | Description |
|---|---|
| 1 | PLL1 Ready |
| 0 | PLL1 Not Ready |
Bit 13 – LPRCRDY LPRC Ready Status bit
| Value | Description |
|---|---|
| 1 | Low-power 32 KHz RC oscillator is ready. |
| 0 | Low-power 32 KHz RC oscillator is not ready. |
Bit 10 – POSCRDY Primary Crystal Oscillator Ready Status bit
| Value | Description |
|---|---|
| 1 | Primary crystal/resonator oscillator is ready. |
| 0 | Primary crystal/resonator oscillator is not ready. |
Bit 9 – BFRCRDY Backup FRC Ready Status bit
| Value | Description |
|---|---|
| 1 | Backup FRC oscillator is ready. |
| 0 | Backup FRC oscillator is not ready. |
Bit 8 – FRCRDY 8 MHz FRC Ready Status bit
| Value | Description |
|---|---|
| 1 | FRC oscillator is ready. |
| 0 | FRC oscillator is not ready. |
Bit 7 – PLL2EN PLL2 Enable bit
| Value | Description |
|---|---|
| 1 | Enables PLL2 |
| 0 | Disables PLL2 |
Bit 6 – PLL1EN PLL1 Enable bit
| Value | Description |
|---|---|
| 1 | Enables PLL1 |
| 0 | Disables PLL1 |
Bit 5 – LPRCEN LPRC Clock Enable bit
| Value | Description |
|---|---|
| 1 | Enables low-power 32 KHz RC oscillator |
| 0 | Disables low-power 32 KHz RC oscillator |
Bit 2 – POSCEN Primary Crystal Clock Enable bit
| Value | Description |
|---|---|
| 1 | Enables primary crystal/resonator oscillator |
| 0 | Disables primary crystal/resonator oscillator |
Bit 1 – BFRCEN Backup FRC Clock Enable bit
| Value | Description |
|---|---|
| 1 | Enables backup FRC oscillator |
| 0 | Disables backup FRC oscillator |
Bit 0 – FRCEN 8 MHz FRC Clock Enable bit
| Value | Description |
|---|---|
| 1 | Enables FRC oscillator |
| 0 | Disables FRC oscillator |
