15.3.5 Clock Generator Control Register
Note:
- CLKGEN 1, 2 and 3 have default value of '1'
| Symbol | Description | Symbol | Description | Symbol | Description |
|---|---|---|---|---|---|
| R | Readable bit | HC | Cleared by Hardware | (Gray cell) | Unimplemented |
| W | Writable bit | HS | Set by Hardware | X | Bit is unknown at Reset |
| C | Write to clear | S | Software settable bit | x | Channel number |
| Name: | CLKxCON |
| Offset: | 0x3118, 0x3120, 0x3128, 0x3130, 0x3138, 0x3140, 0x3148, 0x3150, 0x3158, 0x3160, 0x3168, 0x3170, 0x3178 |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| CLKRDY | RIS | EXTCFEN | EXTCFSEL[2:0] | ||||||
| Access | R/HS/HC | R/W | R/W | R/W | R/W | R/W | |||
| Reset | 1 | 0 | 0 | 0 | 0 | 0 | |||
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| OSWEN | DIVSWEN | FSCMEN | BOSC[3:0] | ||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
| Reset | 0 | 0 | 0 | 0 | 0 | 1 | 0 | ||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| ON | SIDL | OE | NOSC[3:0] | ||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 1 | ||
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| COSC[3:0] | |||||||||
| Access | R/W | R/W | R/W | R/W | |||||
| Reset | 0 | 0 | 0 | 1 | |||||
Bit 31 – CLKRDY Output Clock is Ready bit
| Value | Description |
|---|---|
| 1 | Clock output is ready |
| 0 |
Clock output is not ready, maybe due to source clock not ready, source selection change is in progress, divider change is in progress, or a clock failure has been detected and the backup clock has not yet occurred |
Bit 29 – RIS Run In Sleep bit
| Value | Description |
|---|---|
| 1 | Clock Generator block will continue to operate if SLEEP mode is entered |
| 0 | Clock Generator block will stop when SLEEP mode is entered |
Bit 27 – EXTCFEN External Clock Fail Event Enable bit
| Value | Description |
|---|---|
| 1 | External clock fail detection is enabled |
| 0 | External clock fail detection is disabled |
Bits 26:24 – EXTCFSEL[2:0] External Clock Fail Event Select bits(1)
| Value | Description |
|---|---|
| [0] | External clock fail detection module #1 |
| [1] | External clock fail detection module #2 |
| [2] | External clock fail detection module #3 |
| [3] | External clock fail detection module #4 |
| [4] | External clock fail detection module #5 |
| [5] | External clock fail detection module #6 |
| [6] | External clock fail detection module #7 |
| [7] | External clock fail detection module #8 |
Bit 23 – OSWEN Oscillator Switch Enable bit
| Value | Description |
|---|---|
| 1 | Request oscillator switch to selection specified by NOSC[3:0] bits |
| 0 | Oscillator switch is complete |
Bit 22 – DIVSWEN Clock RODIV/ROTRIM Switch Enable bit
| Value | Description |
|---|---|
| 1 | Clock Divider Switching currently in progress |
| 0 | Clock Divider Switch has completed |
Bit 20 – FSCMEN Fail-Safe Clock Monitor Enable bit
| Value | Description |
|---|---|
| 1 | Fail-Safe Clock Monitor is enabled |
| 0 | FSCM is disabled |
Bits 19:16 – BOSC[3:0] Backup Reference Clock Select bits
Bit 15 – ON Enable Clock Generator bit(1)
| Value | Description |
|---|---|
| 1 | Clock Generator is enabled |
| 0 | Clock Generator is disabled |
Bit 13 – SIDL Stop in Idle bit
| Value | Description |
|---|---|
| 1 | Clock Generator block will stop when IDLE mode is entered |
| 0 | Clock Generator block will continue to operate when IDLE mode is entered |
Bit 12 – OE Output Enable bit
| Value | Description |
|---|---|
| 1 | Clock output is enabled to be output on a device pin |
| 0 | Clock output on a pin is disabled |
