19.7.6 Clock Failure Detector Control
| Symbol | Description | Symbol | Description | Symbol | Description |
|---|---|---|---|---|---|
| R | Readable bit | HC | Cleared by Hardware | (Grey cell) | Unimplemented |
| W | Writable bit | HS | Set by Hardware | X | Bit is unknown at Reset |
| K | Write to clear | S | Software settable bit | — | — |
| Name: | CFDCTRL |
| Offset: | 0x14 |
| Reset: | 0x00000000 |
| Property: | PAC Write-Protection |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| Access | |||||||||
| Reset |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| Access | |||||||||
| Reset |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| CFDPRESC | SWBACK | CFDEN | |||||||
| Access | R/W | R/W | R/W | ||||||
| Reset | 0 | 0 | 0 |
Bit 2 – CFDPRESC Clock Failure Detector Prescaler
| Value | Description |
|---|---|
| 0 | The CFD safe clock frequency is the OSCULP32K frequency |
| 1 | The CFD safe clock frequency is the OSCULP32K frequency divided by 2 |
Bit 1 – SWBACK Clock Switch Back
| Value | Description |
|---|---|
| 0 | The clock switch is disabled. |
| 1 | The clock switch is enabled. This bit is reset when the XOSC32K output is switched back to the external clock or crystal oscillator. |
Bit 0 – CFDEN Clock Failure Detector Enable
Note: After setting CFDEN to enable clock failure
detection, STATUS.XOSC32KFAIL will always be set. This first detection must be
ignored. Subsequent setting of this bit will indicate actual clock failure
events.
| Value | Description |
|---|---|
| 0 | The CFD is disabled. |
| 1 | The CFD is enabled. |
