Epson micro computer s1c33l03 Benutzerhandbuch

Seite von 631
II CORE BLOCK: CLG (Clock Generator)
B-II-6-8
EPSON
S1C33L03 FUNCTION PART
Table 6.6  Operating Status in Standby Mode
Standby mode
Operating status
Reactivating factor
HALT mode
Basic mode
• The CPU clock is stopped. (CPU stop status)
• BCU clock is supplied. (BCU run status)
• DMA  clock  is  not stopped. (DMA run status)
• Clocks for the peripheral circuits maintain the
status before entering HALT mode. (run or
stop)
• The  high-speed oscillation circuit maintains
the status before entering HALT mode.
• The  low-speed oscillation circuit maintains
the status before entering HALT mode.
• Reset, NMI
• Enabled (not masked) interrupt
factors
HALT2 mode
• The CPU clock is stopped. (CPU stop status)
• BCU clock is stopped. (BCU stop status)
• DMA  clock  is  stopped. (DMA stop status)
• Clocks for the peripheral circuits maintain the
status before entering HALT mode. (run or
stop)
• The  high-speed oscillation circuit maintains
the status before entering HALT mode.
• The  low-speed oscillation circuit maintains
the status before entering HALT mode.
A restart is possible only in the
case of:
• Reset, NMI
• Enabled (not masked) interrupt
factors
Note, however, that an interrupt
from a peripheral circuit can restart
the CPU only when the operating
clock is supplied to the peripheral
circuit.
SLEEP mode
• The CPU clock is stopped. (CPU stop status)
• BCU clock is stopped. (BCU stop status)
• Clocks for the peripheral circuits are stopped.
• The  high-speed oscillation circuit is stopped.
• The  low-speed oscillation circuit maintains
the status before entering SLEEP mode.
• Reset, NMI
• Enabled (not masked) input port
interrupt factors
• Clock  timer interrupt when the
low-speed oscillation circuit is
being operated
CLGP7–CLGP0: Power-control register protection flag ([D[7:0]) / Power control protection register (0x4019E)
These bits remove the protection against writing to addresses 0x40180 and 0x40190.
Write "0b10010110": Write protection removed
Write other than the above: No operation (write-protected)
Read: Valid
Before writing to address 0x40180 or 0x40190, set CLGP[7:0] to "0b10010110" to remove the protection against
writing to that address. This clearing of write protection is effective for only one writing, so the bits are cleared to
"0b00000000" by one writing. Therefore, CLGP[7:0] must be set each time the protected address is written to.
At initial reset, CLGP is set to "0b00000000" (write-protected).