Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

MC68HC908AP16CFB Datasheet(PDF) 149 Page - Motorola, Inc

Part # MC68HC908AP16CFB
Description  Microcontrollers
PDF  440 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MOTOROLA [Motorola, Inc]
Direct Link  http://www.freescale.com
Logo MOTOROLA - Motorola, Inc

MC68HC908AP16CFB Datasheet(HTML) 149 Page - Motorola, Inc

Back Button MC68HC908AP16CFB Datasheet HTML 145Page - Motorola, Inc MC68HC908AP16CFB Datasheet HTML 146Page - Motorola, Inc MC68HC908AP16CFB Datasheet HTML 147Page - Motorola, Inc MC68HC908AP16CFB Datasheet HTML 148Page - Motorola, Inc MC68HC908AP16CFB Datasheet HTML 149Page - Motorola, Inc MC68HC908AP16CFB Datasheet HTML 150Page - Motorola, Inc MC68HC908AP16CFB Datasheet HTML 151Page - Motorola, Inc MC68HC908AP16CFB Datasheet HTML 152Page - Motorola, Inc MC68HC908AP16CFB Datasheet HTML 153Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 149 / 440 page
background image
System Integration Module (SIM)
SIM Registers
MC68HC908AP Family — Rev. 2.5
Data Sheet
MOTOROLA
149
9.7.1 SIM Break Status Register
The SIM break status register (SBSR) contains a flag to indicate that a
break caused an exit from stop mode or wait mode.
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.
Address:
$FE00
Bit 7
654321
Bit 0
Read:
RRRRRR
SBSW
R
Write:
Note
Reset:
0
Note: Writing a logic 0 clears SBSW.
R= Reserved
Figure 9-20. SIM Break Status Register (SBSR)
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
5
LOBYTE
EQU
6
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.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com