English
Language : 

MC68HC705J2 Datasheet, PDF (31/82 Pages) Freescale Semiconductor, Inc – member of the low-cost
Freescale Semiconductor, Inc.
1
SECTION 5
2
RESETS AND INTERRUPTS
3
This section describes how resets reinitialize the MCU and how interrupts temporarily
change the normal processing sequence.
4
5
5.1 Resets
A reset immediately stops the operation of the instruction being executed. A reset
6
initializes certain control bits to known conditions and loads the program counter with
a user-defined reset vector address. The following conditions produce a reset:
7
• Initial power-up (power-on reset)
• A logical zero applied to the RESET pin (external reset)
8
• Timeout of the COP timer (COP reset)
9
• An opcode fetch from an address not in the memory map (illegal address reset)
A reset does the following things to reinitialize the MCU:
10
• Clears all implemented data direction register bits so that the corresponding
I/O pins are inputs
11
• Loads the stack pointer with $FF
12
• Sets the interrupt mask, inhibiting interrupts
• Clears the TOFE and RTIE bits in the timer control and status register
13
• Clears the STOP latch, enabling the CPU clocks
14
• Clears the WAIT latch, waking the CPU from the WAIT mode
• Loads the program counter with the user-defined reset vector
15
5.1.1 Power-On Reset
16
A positive transition on the VDD pin generates a power-on reset. The power-on reset 17
is strictly for power-up conditions and cannot be used to detect drops in power supply
voltage.
18
19
20
RESETS AND INTERRUPTS
Rev. 2
5-1
For More Information On This Product,
Go to: www.freescale.com