2 POWER SUPPLY, RESET, AND CLOCKS
2-14
Seiko Epson Corporation
S1C17M12/M13 TECHNICAL MANUAL
(Rev. 1.2)
Table 2.6.4 OSC3 Internal Oscillator Frequency Setting
CLGOSC3.OSC3FQ[1:0] bits
OSC3 oscillation frequency
0x3
16 MHz
0x2
12 MHz
0x1
8 MHz
0x0
4 MHz
Bits 9–8
OSC3MD[1:0]
These bits select an oscillator type of the OSC3 oscillator circuit.
Table 2.6.5 OSC3 Oscillator Type Selection
CLGOSC3.OSC3MD[1:0] bits
OSC3 oscillator type
0x3
Reserved
0x2
Crystal/ceramic oscillator
0x1
Reserved
0x0
Internal oscillator
Bits 7–6
Reserved
Bits 5–4
OSC3INV[1:0]
These bits set the oscillation inverter gain of the OSC3 crystal/ceramic oscillator circuit.
Table 2.6.6 OSC3 Oscillation Inverter Gain Setting
CLGOSC3.OSC3INV[1:0] bits
Inverter gain
0x3
Max.
0x2
↑
0x1
↓
0x0
Min.
Bit 3
Reserved
Bits 2–0
OSC3WT[2:0]
These bits set the oscillation stabilization waiting time for the OSC3 oscillator circuit.
Table 2.6.7 OSC3 Oscillation Stabilization Waiting Time Setting
CLGOSC3.OSC3WT[2:0] bits
Oscillation stabilization waiting time
0x7
65,536 clocks
0x6
16,384 clocks
0x5
4,096 clocks
0x4
1,024 clocks
0x3
256 clocks
0x2
64 clocks
0x1
16 clocks
0x0
4 clocks
CLG Interrupt Flag Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
CLGINTF
15–8 –
0x00
–
R
–
7–3 –
0x00
–
R
2
OSC3STAIF
0
H0
R/W Cleared by writing 1.
1
–
0
–
R
–
0
IOSCSTAIF
0
H0
R/W Cleared by writing 1.
Bits 15–3, 1 Reserved
Bit 2
OSC3STAIF
Bit 0
IOSCSTAIF
These bits indicate the CLG interrupt cause occurrence statuses.
1 (R):
Cause of interrupt occurred
0 (R):
No cause of interrupt occurred
1 (W):
Clear flag
0 (W):
Ineffective