English
Language : 

MC9S08DZ60CLH Datasheet, PDF (171/416 Pages) Freescale Semiconductor, Inc – MC9S08DZ60 Series Features
Chapter 9 Analog Comparator (S08ACMPV3)
9.3 Memory Map/Register Definition
The ACMP includes one register:
• An 8-bit status and control register
Refer to the direct-page register summary in the memory section of this document for the absolute address
assignments for the ACMP register.This section refers to register and control bits only by their names and
relative address offsets.
Some MCUs may have more than one ACMP, so register names include placeholder characters (x) to
identify which ACMP is being referenced.
Table 9-2. ACMP Register Summary
Name
ACMPxSC
7
6
R
ACME ACBGS
W
5
ACF
4
ACIE
3
ACO
2
ACOPE
1
0
ACMOD
9.3.1 ACMPx Status and Control Register (ACMPxSC)
ACMPxSC contains the status flag and control bits used to enable and configure the ACMP.
R
W
Reset:
7
ACME
6
ACBGS
5
ACF
4
ACIE
3
ACO
2
ACOPE
1
0
ACMOD
0
0
0
0
0
0
0
0
Figure 9-3. ACMPx Status and Control Register (ACMPxSC)
Table 9-3. ACMPxSC Field Descriptions
Field
7
ACME
6
ACBGS
5
ACF
4
ACIE
Description
Analog Comparator Module Enable. Enables the ACMP module.
0 ACMP not enabled
1 ACMP is enabled
Analog Comparator Bandgap Select. Selects between the bandgap reference voltage or the ACMPx+ pin as the
input to the non-inverting input of the analog comparator.
0 External pin ACMPx+ selected as non-inverting input to comparator
1 Internal reference select as non-inverting input to comparator
Analog Comparator Flag. ACF is set when a compare event occurs. Compare events are defined by ACMOD.
ACF is cleared by writing a one to it.
0 Compare event has not occurred
1 Compare event has occurred
Analog Comparator Interrupt Enable. Enables the interrupt from the ACMP. When ACIE is set, an interrupt is
asserted when ACF is set.
0 Interrupt disabled
1 Interrupt enabled
MC9S08DZ60 Series Data Sheet, Rev. 4
Freescale Semiconductor
171