14.7.8 48MHz Internal Oscillator (OSC48M) Control
Name: | OSC48MCTRL |
Offset: | 0x14 |
Reset: | 0x82 |
Property: | PAC Write-Protection |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
ONDEMAND | RUNSTDBY | ENABLE | |||||||
Access | R/W | R/W | R/W | ||||||
Reset | 1 | 0 | 1 |
Bit 7 – ONDEMAND On Demand Control
The On Demand operation mode allows the oscillator to be enabled or disabled depending on peripheral clock requests.
If the ONDEMAND bit has been previously written to '1', the oscillator will only be running when requested by a peripheral. If there is no peripheral requesting the oscillator’s clock source, the oscillator will be in a disabled state.
If On Demand is disabled the oscillator will always be running when enabled.
In standby sleep mode, the On Demand operation is still active.
Value | Description |
---|---|
0 | The oscillator is always on, if enabled. |
1 | The oscillator is enabled when a peripheral is requesting the oscillator to be used as a clock source. The oscillator is disabled if no peripheral is requesting the clock source. |
Bit 6 – RUNSTDBY Run in Standby
This bit controls how the OSC48M behaves during standby sleep mode.
Value | Description |
---|---|
0 | The OSC48M is disabled in Standby Sleep mode if no peripheral requests the clock. |
1 | The OSC48M is not stopped in Standby Sleep mode. If ONDEMAND=1, the OSC48M will be running when a peripheral is requesting the clock. If ONDEMAND=0, the clock source will always be running in Standby Sleep mode. |
Bit 1 – ENABLE Oscillator Enable
Value | Description |
---|---|
0 | The oscillator is disabled. |
1 | The oscillator is enabled. |