English
Language : 

S9S12G128F0CLF Datasheet, PDF (219/1158 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual
5V Analog Comparator (ACMPV1)
3.4 External Signals
The ACMP has two analog input signals, ACMPP and ACMPM, and one digital output, ACMPO. The
associated pins are defined by the package option.
The ACMPP signal is connected to the non-inverting input of the comparator. The ACMPM signal is
connected to the inverting input of the comparator. Each of these signals can accept an input voltage that
varies across the full 5V operating voltage range. The module monitors the voltage on these inputs
independent of any other functions in use (GPIO, ADC).
The raw comparator output signal can optionally be driven on an external pin.
3.5 Modes of Operation
1. Normal Mode
The ACMP is operating when enabled and not in STOP mode.
2. Shutdown Mode
The ACMP is held in shutdown mode either when disabled or during STOP mode. In this case the
supply of the analog block is disconnected for power saving. ACMPO drives zero in shutdown
mode.
3.6 Memory Map and Register Definition
3.6.1 Register Map
Table 3-1 shows the ACMP register map.
Table 3-1. ACMP Register Map
Global Address
Register Name
Bit 7
6
5
4
3
2
1
0x0260
ACMPC
R
0
ACIE
ACOPE ACICE ACDIEN ACMOD1 ACMOD0
W
0x0261
R
ACO
0
0
0
0
0
ACMPS
ACIF
W
= Unimplemented or Reserved
Bit 0
ACE
0
MC9S12G Family Reference Manual, Rev.1.10
Freescale Semiconductor
219