English
Language : 

MC9S08DZ60MLF Datasheet, PDF (169/416 Pages) Freescale Semiconductor, Inc – MC9S08DZ60 Series Features
Chapter 9 Analog Comparator (S08ACMPV3)
9.1.2 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, ACMPxO.
9.1.3 Modes of Operation
This section defines the ACMP operation in wait, stop, and background debug modes.
9.1.3.1 ACMP in Wait Mode
The ACMP continues to run in wait mode if enabled before executing the appropriate instruction.
Therefore, the ACMP can be used to bring the MCU out of wait mode if the ACMP interrupt is enabled
(ACIE is set). For lowest possible current consumption, the ACMP should be disabled by software if not
required as an interrupt source during wait mode.
9.1.3.2 ACMP in Stop Modes
The ACMP is disabled in all stop modes, regardless of the settings before executing the stop instruction.
Therefore, the ACMP cannot be used as a wake up source from stop modes.
During stop2 mode, the ACMP module is fully powered down. Upon wake-up from stop2 mode, the
ACMP module is in the reset state.
During stop3 mode, clocks to the ACMP module are halted. No registers are affected. In addition, the
ACMP comparator circuit enters a low-power state. No compare operation occurs while in stop3.
If stop3 is exited with a reset, the ACMP is put into its reset state. If stop3 is exited with an interrupt, the
ACMP continues from the state it was in when stop3 was entered.
9.1.3.3 ACMP in Active Background Mode
When the microcontroller is in active background mode, the ACMP continues to operate normally.
MC9S08DZ60 Series Data Sheet, Rev. 4
Freescale Semiconductor
169