Freescale Semiconductor MC68HC08KH12 Datasheet page 7

Freescale semiconductor microcontrollers data sheet
Table of Contents

Advertisement

Rev. 1.1
-
Freescale Semiconductor
7.1
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
7.2
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.3
SIM Bus Clock Control and Generation . . . . . . . . . . . . . . . . . . 65
7.3.1
Bus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
7.3.2
Clock Start-Up from POR . . . . . . . . . . . . . . . . . . . . . . . . . . 66
7.3.3
Clocks in Stop Mode and Wait Mode . . . . . . . . . . . . . . . . . 66
7.4
Reset and System Initialization. . . . . . . . . . . . . . . . . . . . . . . . . 66
7.4.1
External Pin Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
7.4.2
Active Resets from Internal Sources . . . . . . . . . . . . . . . . . . 67
7.4.2.1
Power-On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
7.4.2.2
7.4.2.3
Illegal Opcode Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
7.4.2.4
Illegal Address Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
7.4.2.5
Universal Serial Bus Reset . . . . . . . . . . . . . . . . . . . . . . . 70
7.5
SIM Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.5.1
SIM Counter During Power-On Reset . . . . . . . . . . . . . . . . . 71
7.5.2
SIM Counter During Stop Mode Recovery . . . . . . . . . . . . . 71
7.5.3
SIM Counter and Reset States . . . . . . . . . . . . . . . . . . . . . . 71
7.6
Exception Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
7.6.1
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.6.1.1
Hardware Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.6.1.2
SWI Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.6.2
Interrupt Status Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.6.2.1
Interrupt Status Register 1 . . . . . . . . . . . . . . . . . . . . . . . . 77
7.6.2.2
Interrupt Status Register 2 . . . . . . . . . . . . . . . . . . . . . . . . 78
7.6.2.3
Interrupt Status Register 3 . . . . . . . . . . . . . . . . . . . . . . . . 78
7.6.3
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
7.6.4
Break Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.6.5
Status Flag Protection in Break Mode. . . . . . . . . . . . . . . . . 79
7.7
Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.7.1
Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
7.7.2
Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
7.8
SIM Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
7.8.1
Break Status Register (BSR). . . . . . . . . . . . . . . . . . . . . . . . 83
Advance Information
7

Advertisement

Table of Contents
loading

Table of Contents