English
Language : 

MC68HC08AZ32A Datasheet, PDF (210/312 Pages) Motorola, Inc – HCMOS Microcontroller Unit
System Integration Module (SIM)
15.7.1 SIM Break Status Register (SBSR)
The SIM break status register contains a flag to indicate that a break caused an exit from stop or wait
mode.
Address: $FE00
Bit 7
6
5
4
3
2
1
Bit 0
Read:
BW
R
Write:
R
R
R
R
R
Note(1)
R
Reset:
0
R
= Reserved
1. Writing a 0 clears BW.
Figure 15-17. SIM Break Status Register (SBSR)
BW — SIM Break Wait Bit
BW 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 = Wait mode was exited by break interrupt
0 = Wait mode was not exited by break interrupt
15.7.2 SIM Reset Status Register (SRSR)
The SRSR register contains flags that show the source of the last reset. The status register will
automatically clear after reading SRSR. A power-on reset sets the POR bit and clears all other bits in the
register. All other reset sources set the individual flag bits but do not clear the register. More than one
reset source can be flagged at any time depending on the conditions at the time of the internal or external
reset. For example, the POR and LVI bit can both be set if the power supply has a slow rise time.
Address: $FE01
Bit 7
6
5
4
3
2
Read: POR
PIN
COP
ILOP
ILAD
0
Write:
Reset: 1
0
0
0
0
0
= Unimplemented
1
Bit 0
LVI
0
0
0
Figure 15-18. SIM Reset Status Register (SRSR)
POR — Power-On Reset Bit
1 = Last reset caused by POR circuit
0 = Read of SRSR
PIN — External Reset Bit
1 = Last reset caused by external reset pin (RST)
0 = POR or read of SRSR
COP — Computer Operating Properly Reset Bit
1 = Last reset caused by COP counter
0 = POR or read of SRSR
ILOP — Illegal Opcode Reset Bit
1 = Last reset caused by an illegal opcode
0 = POR or read of SRSR
MC68HC08AZ32A Data Sheet, Rev. 2
210
Freescale Semiconductor