Table of Contents
Section 8. Capture/Compare Timer
8.1
8.2
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
8.3
8.3.1
8.3.2
Timer Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
Input Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Output Compare. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
8.4
Timer I/O Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
Timer Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
Timer Status Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
Timer Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
Alternate Timer Registers. . . . . . . . . . . . . . . . . . . . . . . . . . .72
Input Capture Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
Output Compare Registers. . . . . . . . . . . . . . . . . . . . . . . . . .74
8.4.1
8.4.2
8.4.3
8.4.4
8.4.5
8.4.6
8.5
8.6
Timer During Wait/Halt Mode . . . . . . . . . . . . . . . . . . . . . . . . . .75
Timer During Stop Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
Section 9. Analog Subsystem
9.1
9.2
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
9.3
Analog Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Ratiometric Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Reference Voltage (VREFH) . . . . . . . . . . . . . . . . . . . . . . . . .78
Accuracy and Precision . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
9.3.1
9.3.2
9.3.3
9.4
Conversion Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
9.5
Digital Section. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Conversion Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Internal versus External Oscillator . . . . . . . . . . . . . . . . . . . .79
Multi-Channel Operation . . . . . . . . . . . . . . . . . . . . . . . . . . .80
9.5.1
9.5.2
9.5.3
9.6
9.7
9.8
9.9
A/D Status and Control Register (ADSC) . . . . . . . . . . . . . . . . .80
A/D Conversion Data Register (ADC). . . . . . . . . . . . . . . . . . . .82
A/D Subsystem Operation during Halt/Wait Modes . . . . . . . . .82
A/D Subsystem Operation during Stop Mode. . . . . . . . . . . . . .82
Advance Information
10
MC68HC705P6A — Rev. 2.0
Table of Contents
MOTOROLA