English
Language : 

MC68HC705JJ7 Datasheet, PDF (52/164 Pages) Freescale Semiconductor, Inc – Microcontrollers
Operating Modes
6.3.1 Stop Mode
The STOP instruction puts the MCU in a mode with the lowest power consumption and affects the MCU
as follows:
• Turns off the central processor unit (CPU) clock and all internal clocks by stopping both the external
pin oscillator and the internal low-power oscillator. The selection of the oscillator by the OM1 and
OM2 bits in the ISCR is not affected. The stopped clocks turn off the COP watchdog, the core timer,
the programmable timer, the analog subsystem, and the SIOP.
• Removes any pending core timer interrupts by clearing the core timer interrupt flags (CTOF and
RTIF) in the core timer status and control register (CTSCR)
• Disables any further core timer interrupts by clearing the core timer interrupt enable bits (CTOFE
and RTIE) in the CTSCR
• Removes any pending programmable timer interrupts by clearing the timer interrupt flags (ICF,
OCF, and TOF) in the timer status register (TSR)
• Disables any further programmable timer interrupts by clearing the timer interrupt enable bits (ICIE,
OCIE, and TOIE) in the timer control register (TCR)
• Enables external interrupts via the IRQ/VPP pin by setting the IRQE bit in the IRQ status and control
register (ISCR). External interrupts are also enabled via the PA0 through PA3 pins, if the port A
interrupts are enabled by the PIRQ bit in the mask option register (MOR).
• Enables interrupts in general by clearing the I bit in the condition code register
The STOP instruction does not affect any other bits, registers, or I/O lines.
The following conditions bring the MCU out of stop mode:
• An external interrupt signal on the IRQ/VPP pin — A high-to-low transition on the IRQ/VPP pin loads
the program counter with the contents of locations $1FFA and $1FFB.
• An external interrupt signal on a port A external interrupt pin — If selected by the PIRQ bit in the
MOR, a low-to-high transition on a PA3–PA0 pin loads the program counter with the contents of
locations $1FFA and $1FFB.
• External reset — A logic 0 on the RESET pin resets the MCU and loads the program counter with
the contents of locations $1FFE and $1FFF.
When the MCU exits stop mode, processing resumes after a stabilization delay of 16 or 4064 internal bus
cycles, depending on the state of the DELAY bit in the MOR.
NOTE
Execution of the STOP instruction without setting the SWAIT bit in the MOR
will cause the oscillators to stop, and, therefore, disable the COP watchdog
timer. If the COP watchdog timer is to be used, stop mode should be
changed to halt mode as described in 6.3.3 Halt Mode.
MC68HC705JJ7 • MC68HC705JP7 Advance Information Data Sheet, Rev. 4.1
52
Freescale Semiconductor