|
MC9S08LC60 Datasheet, PDF (63/358 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
Chapter 5
Resets, Interrupts, and System Conï¬guration
5.1 Introduction
This section discusses basic reset and interrupt mechanisms and the various sources of reset and interrupts
in the MC9S08LC60 Series. Some interrupt sources from peripheral modules are discussed in greater
detail within other sections of this data manual. This section gathers basic information about all reset and
interrupt sources in one place for easy reference. A few reset and interrupt sources, including the computer
operating properly (COP) watchdog and real-time interrupt (RTI), are not part of on-chip peripheral
systems with their own sections but are part of the system control logic.
5.2 Features
Reset and interrupt features include:
⢠Multiple sources of reset for ï¬exible system conï¬guration and reliable operation:
â Power-on detection (POR)
â Low voltage detection (LVD) with enable
â External RESET pin with enable
â COP watchdog with enable and two timeout choices
â Illegal opcode
â Serial command from a background debug host
⢠Reset status register (SRS) to indicate source of most recent reset
⢠Separate interrupt vectors for each module (reduces polling overhead) (see Table 5-2)
5.3 MCU Reset
Resetting the MCU provides a way to start processing from a known set of initial conditions. During reset,
most control and status registers are forced to initial values and the program counter is loaded from the
reset vector (0xFFFE:0xFFFF). On-chip peripheral modules are disabled and I/O pins are initially
conï¬gured as general-purpose high-impedance inputs with pullup devices disabled. The I bit in the
condition code register (CCR) is set to block maskable interrupts so the user program has a chance to
initialize the stack pointer (SP) and system control settings. SP is forced to 0x00FF at reset.
The MC9S08LC60 Series has seven sources for reset:
⢠Power-on reset (POR)
⢠Low-voltage detect (LVD)
⢠Computer operating properly (COP) timer
MC9S08LC60 Series Advance Information Data Sheet, Rev. 2
Freescale Semiconductor
PRELIMINARY
63
|
▷ |