Datasheet

Section 5 Clock Pulse Generator
Rev. 3.00 Sep. 10, 2007 Page 77 of 528
REJ09B0216-0300
Bit Bit Name
Initial
Value
R/W Description
4 OSCSEL 0 R/W LSI Operating Clock Select
When OSCBAKE = 0
This bit is used to forcibly select the system clock of this
LSI.
0: The on-chip oscillator clock selected as the system
clock source
1: The external input selected as the system clock source
When OSCBAKE = 1
This bit is used to switch the on-chip oscillator clock to the
external clock. While this LSI is operating on the on-chip
oscillator clock, setting this bit to 1 switches the system
clocks to the external clock.
[Setting condition]
When 1 is written to this bit while CKSWIF = 0
[Clearing conditions]
When 0 is written to this bit
When the external oscillator halt is detected while
OSCBAKE = 1
3 CKSWIE 0 R/W Clock Switching Interrupt Enable
Setting this bit to 1 enables the clock switching interrupt
request.
2 CKSWIF 0 R/W Clock Switching Interrupt Request Flag
[Setting condition]
When the external clock is switched to the on-chip
oscillator clock as the system clock source
[Clearing condition]
When writing 0 after reading as 1