Freescale Semiconductor, Inc.
Table of Contents
Section 7. Serial Peripheral Interface (SPI)
7.1
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Functional description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .126
SPI transfer formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .126
SPI signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129
SPI system errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .130
SPI registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132
7.2
7.3
7.4
7.5
7.6
7.7
Section 8. Timing System
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
8.9
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
Timer structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
Input capture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142
Output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
Real-time interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .154
Computer operating properly watchdog function . . . . . . . . . .157
Pulse accumulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .158
Pulse-width modulation (PWM) timer . . . . . . . . . . . . . . . . . . .162
Section 9. Analog-to-Digital Converter
9.1
9.2
9.3
9.4
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .174
A/D converter power-up and clock select . . . . . . . . . . . . . . . .178
Technical Data
MC68HC11P2 — Rev 1.0
Table of Contents
For More Information On This Product,
Go to: www.freescale.com