English
Language : 

MC9S08SG8 Datasheet, PDF (111/310 Pages) Freescale Semiconductor, Inc – Microcontrollers
5-V Analog Comparator (S08ACMPV2)
8.1.3 Features
The ACMP has the following features:
• Full rail to rail supply operation.
• Selectable interrupt on rising edge, falling edge, or either rising or falling edges of comparator
output.
• Option to compare to fixed internal bandgap reference voltage.
• Option to allow comparator output to be visible on a pin, ACMPO.
8.1.4 Block Diagram
The block diagram for the Analog Comparator module is shown Figure 8-2.
Internal
Reference
ACBGS
ACME
Internal Bus
Status & Control
Register
ACIE
ACF
ACOPE
ACMP
INTERRUPT
REQUEST
ACMP+
ACMP-
+
-
Comparator
Interrupt
Control
ACMPO
Figure 8-2. Analog Comparator 5V (ACMP5) Block Diagram
8.1.5 Modes of Operation
This section defines the ACMP operation in wait, stop and background debug modes.
8.1.5.1 ACMP in Wait Mode
The ACMP continues to run in wait mode if enabled before executing the WAIT instruction. Therefore,
the ACMP can be used to bring the MCU out of wait mode if the ACMP interrupt, ACIE is enabled. For
MC9S08SG8 MCU Series Data Sheet, Rev. 0
Freescale Semiconductor
PRELIMINARY
111