MC908JL16CFAE FREESCALE [Freescale Semiconductor, Inc], MC908JL16CFAE Datasheet - Page 60

no-image

MC908JL16CFAE

Manufacturer Part Number
MC908JL16CFAE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
System Integration Module (SIM)
4.7.2 Reset Status Register (RSR)
This register contains six flags that show the source of the last reset. Clear the SIM reset status register
by reading it. A power-on reset sets the POR bit and clears all other bits in the register.
POR — Power-On Reset Bit
PIN — External Reset Bit
COP — Computer Operating Properly Reset Bit
ILOP — Illegal Opcode Reset Bit
ILAD — Illegal Address Reset Bit (opcode fetches only)
MODRST — Monitor Mode Entry Module Reset bit
LVI — Low Voltage Inhibit Reset bit
60
SBSW can be read within the break state SWI routine. The user can modify the return address on the
stack by subtracting one from it.
1 = Last reset caused by POR circuit
0 = Read of RSR
1 = Last reset caused by external reset pin (RST)
0 = POR or read of RSR
1 = Last reset caused by COP counter
0 = POR or read of RSR
1 = Last reset caused by an illegal opcode
0 = POR or read of RSR
1 = Last reset caused by an opcode fetch from an illegal address
0 = POR or read of RSR
1 = Last reset caused by monitor mode entry when vector locations $FFFE and $FFFF are $FF after
0 = POR or read of RSR
1 = Last reset caused by LVI circuit
0 = POR or read of RSR
POR while IRQ = V
Address: $FE01
Read:
Write:
POR:
POR
Bit 7
1
DD
Figure 4-21. Reset Status Register (RSR)
= Unimplemented
PIN
6
0
MC68HC908JL16 Data Sheet, Rev. 1.1
COP
5
0
ILOP
4
0
ILAD
3
0
MODRST
2
0
LVI
1
0
Freescale Semiconductor
Bit 0
0
0

Related parts for MC908JL16CFAE