mc68hc908qf4 Freescale Semiconductor, Inc, mc68hc908qf4 Datasheet - Page 12

no-image

mc68hc908qf4

Manufacturer Part Number
mc68hc908qf4
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Table of Contents
Data Sheet
12
14.4
14.4.1
14.4.2
14.4.2.1
14.4.2.2
14.4.2.3
14.4.2.4
14.4.2.5
14.5
14.5.1
14.5.2
14.5.3
14.6
14.6.1
14.6.1.1
14.6.1.2
14.6.2
14.6.2.1
14.6.2.2
14.6.2.3
14.6.3
14.6.4
14.6.5
14.7
14.7.1
14.7.2
14.8
14.8.1
14.8.2
15.1
15.2
15.3
15.4
15.4.1
15.4.2
15.4.3
15.4.3.1
15.4.3.2
15.4.4
15.4.4.1
15.4.4.2
15.4.4.3
Freescale Semiconductor, Inc.
Reset and System Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
SIM Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Exception Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
SIM Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Pin Name Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
For More Information On This Product,
External Pin Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Active Resets from Internal Sources . . . . . . . . . . . . . . . . . . . . . . . 123
SIM Counter During Power-On Reset . . . . . . . . . . . . . . . . . . . . . . 126
SIM Counter During Stop Mode Recovery . . . . . . . . . . . . . . . . . . . 126
SIM Counter and Reset States . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Interrupt Status Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Break Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Status Flag Protection in Break Mode . . . . . . . . . . . . . . . . . . . . . . 132
Wait Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
SIM Reset Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Break Flag Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
TIM Counter Prescaler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Input Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Output Compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Pulse Width Modulation (PWM) . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Power-On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Computer Operating Properly (COP) Reset . . . . . . . . . . . . . . . . 124
Illegal Opcode Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Illegal Address Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Low-Voltage Inhibit (LVI) Reset . . . . . . . . . . . . . . . . . . . . . . . . . 125
Hardware Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
SWI Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Interrupt Status Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Interrupt Status Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Interrupt Status Register 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Unbuffered Output Compare. . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Buffered Output Compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Unbuffered PWM Signal Generation. . . . . . . . . . . . . . . . . . . . . . 143
Buffered PWM Signal Generation . . . . . . . . . . . . . . . . . . . . . . . . 144
PWM Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Section 15. Timer Interface Module (TIM)
Go to: www.freescale.com
Table of Contents
MC68HC908QF4 — Rev. 1.0
MOTOROLA

Related parts for mc68hc908qf4