| Electronic Components Datasheet Search |
|
M68HC08 Datasheet(PDF) 109 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
M68HC08 Datasheet(HTML) 109 Page - Freescale Semiconductor, Inc |
|
109 / 288 page ![]() System Integration Module (SIM) MC68HC908BD48 — Rev. 2.1 Data Sheet Freescale Semiconductor System Integration Module (SIM) 109 SBSW can be read within the break interrupt routine. The user can modify the return address on the stack by subtracting one from it. The following code is an example. 7.8.2 SIM Reset Status Register (SRSR) 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 1 = Last reset caused by POR circuit 0 = Read of SRSR ; ; ; 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. Address: $FE01 Bit 7 654321 Bit 0 Read: POR PIN COP ILOP ILAD 0 0 0 Write: POR: 10000000 = Unimplemented Figure 7-19. SIM Reset Status Register (SRSR) |
|
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 |
| 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 |