Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RUNSTDBY | CSUTHF[1:0] | FRQRANGE[1:0] | SELHF | ENABLE | |||
AccessR/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset0 | 0 | 0 | 0 | 0 | 0 | 0 |
Run Standby
This bit controls whether the External High-Frequency Oscillator (XOSCHF) is always
running or not when the ENABLE bit is ‘1
’.
Value | Description |
---|---|
0 | The XOSCHF oscillator will only run when requested by a peripheral or by the main clock (1) |
1 | The XOSCHF oscillator will always run in Active, Idle and Standby sleep modes (2) |
Crystal Start-up Time
0
’.1
’. Value | Name | Description |
---|---|---|
0x0 | 256 | 256 XOSCHF cycles |
0x1 | 1K | 1K XOSCHF cycles |
0x2 | 4K | 4K XOSCHF cycles |
0x3 | - | Reserved |
Frequency Range
This bit field controls the maximum frequency supported for the external crystal. The larger the range selected, the higher the current consumption by the oscillator.
Value | Name | Description |
---|---|---|
0x0 | 8M | Max. 8 MHz XTAL frequency |
0x1 | 16M | Max. 16 MHz XTAL frequency |
0x2 | 24M | Max. 24 MHz XTAL frequency |
0x3 | 32M | Max. 32 MHz XTAL frequency |
Source Select
This bit controls the source of the External High-Frequency Oscillator (XOSCHF).
1
’. Value | Name | Description |
---|---|---|
0 | XTAL | External Crystal on the XTALHF1 and XTALHF2 pins |
1 | EXTCLK | External Clock on the XTALHF1 pin |
Enable
This bit controls whether the External High-Frequency Oscillator (XOSCHF) is enabled or not.
Value | Description |
---|---|
0 | The XOSCHF oscillator is disabled |
1 | The XOSCHF oscillator is enabled and overrides normal port operation for the respective oscillator pins |