English
Language : 

MC68HC05PV8 Datasheet, PDF (78/196 Pages) Freescale Semiconductor, Inc – Techinal Data - rev 1.9
Technical Data
Freescale Semiconductor, Inc.
5.3 Reset status register (RSR)
This register contains eight flags that show the source of the last reset.
A power-on reset sets the POR bit in the system control register and
clears all other bits in the reset status register. All bits can be cleared by
writing a one to the corresponding bit. Uncleared bits remain set as long
as they are not cleared by a power-on reset or by software.
$002A Bit 7
6
5
4
3
2
1
Bit 0
Read:
PINR STOPR COPR ILINR CMR
HTR
HVR
LVR
Write:
POR: 0
0
0
0
0
0
0
0
Figure 5-1 Reset Status Register (RSR)
PINR – External Reset Bit
1 = Last reset caused by external reset pin (RESET)
0 = No pin reset since PINR was cleared by software or POR
STOPR – Illegal STOP Instruction Reset Bit
Indicates the last reset was caused by a disabled STOP instruction.
1 = Last reset caused by a disabled STOP instruction
0 = No illegal STOP instruction since STOPR was cleared by
software or POR
COPR – COP (Computer Operating Properly) Reset Bit
1 = Last reset caused by COP
0 = No COP reset since COPR was cleared by software or POR
ILINR – Illegal Instruction Reset Bit
1 = Last reset caused by an instruction fetch from an illegal address
0 = No illegal instruction fetch reset since ILINR was cleared by
software or POR
CMR – Clock Monitor Reset Bit
1 = Last reset caused by the clock monitor due to a failure on
system clock or system clock is back. Refer to RCON status bit
in the interrupt status register
0 = No clock monitor reset since CMR was cleared by software or
POR
Technical Data
MC68HC(8)05PV8/A — Rev. 1.9
Resets
For More Information On This Product,
Go to: www.freescale.com