The operating clock is automatically switched from the main clock to the internal oscillator when stoppage of oscillation is detected. Even if the main clock oscillator resumes operation after stoppage of oscillation has been detected, the internal oscillator will provide the operating clock for the LSI. However, the operating clock is switched from the internal oscillator to the main clock only during reset processing of pin resets, power-on resets, and voltage monitoring resets. Accordingly, the operating clock for the LSI will be the main clock once oscillation of the main clock oscillator has started.
The oscillation stop detection function is enabled immediately after the LSI has been internally initialized by all resets.
To disable this function, clear the OSTDCR.OSTDE bit to 0. In addition, when the oscillation stop is detected and the
LSI is operating on the internal oscillation clock, the OSTDCR.OSTDE bit cannot be cleared to 0
đang được dịch, vui lòng đợi..