MC68HC908GR4 MOTOROLA [Motorola, Inc], MC68HC908GR4 Datasheet - Page 294

no-image

MC68HC908GR4

Manufacturer Part Number
MC68HC908GR4
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908GR4CDW
Manufacturer:
RENESAS
Quantity:
1 400
Part Number:
MC68HC908GR4CFA
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
MC68HC908GR4CFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908GR4CFA
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
MC68HC908GR4CFA
Quantity:
4
Part Number:
MC68HC908GR4CFAE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908GR4CP
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
System Integration Module (SIM)
19.8.1 SIM Break Status Register
Technical Data
294
This code works if the H register has been pushed onto the stack in the break
service routine software. This code should be executed at the end of the break
service routine software.
HIBYTE
LOBYTE
EQU
EQU
If not SBSW, do RTI
BRCLR
TST
BNE
5
6
SBSW,SBSR, RETURN
LOBYTE,SP
DOLO
Note: 1. Writing a logic 0 clears SBSW.
Address:
The SIM break status register (SBSR) contains a flag to indicate that a
break caused an exit from stop mode or wait mode.
SBSW — SIM Break Stop/Wait
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. The
following code is an example of this. Writing 0 to the SBSW bit clears it.
Reset:
Read:
Write:
This status bit is useful in applications requiring a return to wait or stop
mode after exiting from a break interrupt. Clear SBSW by writing a
logic 0 to it. Reset clears SBSW.
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = Stop mode or wait mode was exited by break interrupt.
0 = Stop mode or wait mode was not exited by break interrupt.
$FE00
Bit 7
Figure 19-20. SIM Break Status Register (SBSR)
R
R
0
System Integration Module (SIM)
Go to: www.freescale.com
= Reserved
R
6
0
;
;
;
;
;
;If RETURNLO is not zero,
;then just decrement low byte.
See if wait mode or stop mode was exited by
break.
R
5
0
R
4
0
R
3
0
MC68HC908GR8 — Rev 4.0
R
2
0
SBSW
Note
1
0
(1)
MOTOROLA
Bit 0
R
0

Related parts for MC68HC908GR4