2 POWER SUPPLY, RESET, AND CLOCKS
S1C17M12/M13 TECHNICAL MANUAL
Seiko Epson Corporation
2-11
(Rev. 1.2)
Canceling HALT or SLEEP mode
The conditions listed below generate the HALT/SLEEP cancelation signal to cancel HALT or SLEEP mode and
put the CPU into RUN mode. This transition is executed even if the CPU does not accept the interrupt request.
• Interrupt request from a peripheral circuit
• NMI from the watchdog timer
• Debug interrupt
• Reset request
2.5 Interrupts
CLG has a function to generate the interrupts shown in Table 2.5.1.
Table 2.5.1 CLG Interrupt Functions
Interrupt
Interrupt flag
Set condition
Clear condition
IOSC oscillation stabiliza-
tion waiting completion
CLGINTF.IOSCSTAIF When the IOSC oscillation stabilization waiting
operation has completed after the oscillation starts
Writing 1
OSC3 oscillation stabili-
zation waiting completion
CLGINTF.OSC3STAIF When the OSC3 oscillation stabilization waiting
operation has completed after the oscillation starts
Writing 1
CLG provides interrupt enable bits corresponding to each interrupt flag. An interrupt request is sent to the interrupt
controller only when the interrupt flag, of which interrupt has been enabled by the interrupt enable bit, is set. For
more information on interrupt control, refer to the “Interrupt Controller” chapter.
2.6 Control Registers
PWG V
D1
Regulator Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
PWGVD1CTL
15–8 –
0x00
–
R
–
7–2 –
0x00
–
R
1–0 REGMODE[1:0]
0x0
H0
R/WP
Bits 15–2 Reserved
Bits 1–0
REGMODE[1:0]
These bits control the internal regulator operating mode.
Table 2.6.1 Internal Regulator Operating Mode
PWGVD1CTL.REGMODE[1:0] bits
Operating mode
0x3
Economy mode
0x2
Normal mode
0x1
Reserved
0x0
Automatic mode
CLG System Clock Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
CLGSCLK
15 WUPMD
0
H0
R/WP –
14 –
0
–
R
13–12 WUPDIV[1:0]
0x0
H0
R/WP
11–10 –
0x0
–
R
9–8 WUPSRC[1:0]
0x0
H0
R/WP
7–6 –
0x0
–
R
5–4 CLKDIV[1:0]
0x0
H0
R/WP
3–2 –
0x0
–
R
1–0 CLKSRC[1:0]
0x0
H0
R/WP