
MC68HC908SR12MC68HC08SR12 — Rev. 5.0
Data Sheet
Freescale Semiconductor
Analog Module
221
Data Sheet — MC68HC908SR12MC68HC08SR12
Section 14. Analog Module
14.1 Contents
14.2
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .221
14.3
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .222
14.4
14.4.1
14.4.2
14.4.3
14.4.4
14.4.5
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .223
On-Chip Temperature Sensor . . . . . . . . . . . . . . . . . . . . . .223
Two-Stage Amplifier. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .224
Amplifier Response Time . . . . . . . . . . . . . . . . . . . . . . . . . .224
Current Flow Detection Amplifier . . . . . . . . . . . . . . . . . . . .225
Current Flow Detect Output . . . . . . . . . . . . . . . . . . . . . . . .225
14.5
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .225
14.6
14.6.1
14.6.2
Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .225
Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .225
Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .225
14.7
14.7.1
14.7.2
14.7.3
Analog Module I/O Registers . . . . . . . . . . . . . . . . . . . . . . . . .226
Analog Module Control Register (AMCR) . . . . . . . . . . . . .226
Analog Module Gain Control Register (AMGCR). . . . . . . .227
Analog Module Status and Control Register (AMSCR) . . .228
14.2 Introduction
This section describes the analog module. The analog module is
designed to be use in conjunction with the analog-to-digital converter
module for monitoring temperature, charge and discharge currents in
smart battery applications.
NOTE:
The analog module uses clock signals from the CGM’s PLL, therefore
the PLL must be running — PLLON bit in the PLL control register must
be set. (See
Section 8. Clock Generator Module (CGM)
.)