32 KHz External Crystal Oscillator (XOSC32K) Control
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
WRTLOCK | STARTUP[2:0] | ||||||||
Access | R/W | R/W | R/W | R/W | |||||
Reset | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
ONDEMAND | RUNSTDBY | EN1K | EN32K | XTALEN | ENABLE | ||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
Reset | 1 | 0 | 0 | 0 | 0 | 0 |
Write Lock
This bit locks the XOSC32K register for future writes, effectively freezing the XOSC32K configuration.
Value | Description |
---|---|
0 | The XOSC32K configuration is not locked. |
1 | The XOSC32K configuration is locked. |
Oscillator Start-Up Time
This bit field selects the XOSC32K crystal oscillator stabilization time.
STARTUP[2:0] | Number of OSCULP32K Clock Cycles | Approximate Equivalent Time (2)[s] |
---|---|---|
0x0 | 2048 | 0.06 |
0x1 | 4096 | 0.13 |
0x2 | 16384 | 0.5 |
0x3 | 32768 | 1 |
0x4 | 65536 | 2 |
0x5 | 131072 | 4 |
0x6 | 262144 | 8 |
0x7 | Reserved | Reserved |
On Demand Control
This bit controls how the XOSC32K behaves when a peripheral clock request is detected. For details, refer to XOSC32K Sleep Behavior.
Run in Standby
This bit controls how the XOSC32K behaves during Standby sleep mode. For details, refer to XOSC32K Sleep Behavior.
1KHz Output Enable
Value | Description |
---|---|
0 | The 1KHz output is disabled. |
1 | The 1KHz output is enabled. |
32KHz Output Enable
Value | Description |
---|---|
0 | The 32KHz output is disabled. |
1 | The 32KHz output is enabled. |
Crystal Oscillator Enable
Value | Description |
---|---|
0 | External clock connected on XIN32. XOUT32 can be used as general-purpose I/O. |
1 | Crystal connected to XIN32/XOUT32. |
Oscillator Enable
Value | Description |
---|---|
0 | The oscillator is disabled. |
1 | The oscillator is enabled. |