參數(shù)資料
型號: MC68HC08LT8CFGE
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP44
封裝: 10 X 10 MM, 1.40 MM THICKNESS, 0.80 MM PITCH, ROHS COMPLIANT, MS-026BCB, LQFP-44
文件頁數(shù): 101/156頁
文件大?。?/td> 1107K
代理商: MC68HC08LT8CFGE
SIM Registers
MC68HC08LT8 Data Sheet, Rev. 1
Freescale Semiconductor
49
SBSW — Break Wait Bit
This status bit is set when a break interrupt causes an exit from wait mode or stop mode. Clear SBSW
by writing a logic 0 to it. Reset clears SBSW.
1 = Stop mode or wait mode was exited by break interrupt
0 = Stop mode or wait mode was not exited by break interrupt
SBSW can be read within the break interrupt routine. The user can modify the return address on the stack
by subtracting 1 from it. The following code is an example.
4.7.2 SIM Reset Status Register
This register contains six flags that show the source of the last reset provided all previous reset status bits
have been cleared. 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
Address: $FE00
Bit 7
654321
Bit 0
Read:
RRRRRR
SBSW
R
Write:
Note(1)
Reset:
0
R
= Reserved
1. Writing a clears SBSW.
Figure 4-20. Break Status Register (BSR)
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
EQU
LOBYTE
EQU
If not SBSW, do RTI
BRCLR
SBSW,SBSR, RETURN
;
See if wait mode or stop mode was exited by
break.
TST
LOBYTE,SP
;If RETURNLO is not zero,
BNE
DOLO
;then just decrement low byte.
DEC
HIBYTE,SP
;Else deal with high byte, too.
DOLO
DEC
LOBYTE,SP
;Point to WAIT/STOP opcode.
RETURN
PULH
RTI
;Restore H register.
Address: $FE01
Bit 7
654321
Bit 0
Read:
POR
PIN
COP
ILOP
ILAD
0
LVI
0
Write:
POR:
10000000
= Unimplemented
Figure 4-21. Reset Status Register (RSR)
相關(guān)PDF資料
PDF描述
MC68HC11G5CFN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC84
MC68HC11G5CFN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC84
MC68HC11L6VFU23 8-BIT, MROM, 3 MHz, MICROCONTROLLER, PQFP64
MC68HC11L6CFU22 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQFP64
MC68HC11L6VFU22 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC08MR4 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:In-Circuit Simulator
MC68HC08P4 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC08QT1 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08QT2 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08QT4 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers