1
ECSE-4790 Microprocessor Systems Design
Motorola 68HC12 User's Manual
Lee Rosenberg
Electrical and Computer Systems Engineering
Rensselaer Polytechnic Institute
Revision 1.1
8/10/00
Table of Contents:
page
1. Introduction
2
2. Basic Programming notes for the 68HC12
3
3. D-Bug 12 Monitor Program
4
4. 68HC12 Hardware
7
a) Ports
7
b) A/D Converter
8
c) Timer Functions
12
i) Timer Output Compare
13
ii) Output Compare 7
14
iii) Timer Compare Force Register
15
iv) Input Capture
15
5. Interrupt Service Routines
16
a) Overview
16
b) Interrupt Priority
17
c) Real Time Interrupt
18
d) Timer Overflow Interrupt
19
e) Pulse Accumulator Edge Triggered Interrupt
20
f) Pulse Accumulator Overflow Triggered Interrupt
22
g) Output Compare Interrupt
23
h) Input Capture Interrupt
24
i) A/D Converter Interrupt
25
j) IRQ Interrupt
26
k) Port H Key Wakeup Interrupt
27
l) Port J Key Wakeup Interrupt
28