![NXP Semiconductors MC9S08LG16 Reference Manual Download Page 73](http://html1.mh-extra.com/html/nxp-semiconductors/mc9s08lg16/mc9s08lg16_reference-manual_1721837073.webp)
MC9S08LG32 MCU Series, Rev. 5
Freescale Semiconductor
73
Chapter 5
Resets, Interrupts, and General System Control
5.1
Introduction
This section discusses basic reset and interrupt mechanisms and the various sources of reset and interrupt
in the MC9S08LG32 series. Some interrupt sources from peripheral modules are discussed in greater
detail in other sections of this document. This section gathers basic information about all reset and interrupt
sources in one place for easy reference.
5.2
Features
Reset and interrupt features include:
•
Multiple sources of reset for flexible system configuration and reliable operation
•
Reset status register (SRS) to indicate source of most recent reset
•
Separate interrupt vector for all modules (reduces polling overhead) (see
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
configured 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 MC9S08LG32 series has the following sources for reset:
•
Power-on reset (POR)
•
External pin reset (PIN)
•
Computer operating properly (COP) timer
•
Illegal opcode detect (ILOP)
•
Illegal address detect (ILAD)
•
Low-voltage detect (LVD)
•
Background debug forced reset
Each of these sources, with the exception of the background debug forced reset, has an associated bit in
the system reset status register (SRS). The background debug forced reset causes all the bits in the SRS
register to clear, and can be detected by all zeros in SRS.
Summary of Contents for MC9S08LG16
Page 2: ......
Page 4: ......
Page 8: ......
Page 20: ......
Page 26: ...Chapter 1 Device Overview MC9S08LG32 MCU Series Rev 5 26 Freescale Semiconductor...
Page 40: ...Chapter 2 Pins and Connections MC9S08LG32 MCU Series Rev 5 40 Freescale Semiconductor...
Page 372: ......