ACMP_C1 field descriptions
Field
Description
7
DACEN
DAC Enable
Enables the output of 6-bit DAC.
0
The DAC is disabled.
1
The DAC is enabled.
6
DACREF
DAC Reference Select
0
The DAC selects Bandgap as the reference.
1
The DAC selects V
DDA
as the reference.
DACVAL
DAC Output Level Selection
Selects the output voltage using the given formula: V
output
= (V
in
/64)x(DACVAL[5:0]+1) The V
output
range is
from V
in
/64 to V
in
, the step is V
in
/64
20.3.4 ACMP Control Register 2 (ACMP_C2)
Address: 2Ch base + 3h offset = 2Fh
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
ACMP_C2 field descriptions
Field
Description
7–3
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
ACIPE
ACMP Input Pin Enable
This 3-bit field controls if the corresponding ACMP external pin can be driven by an analog input.
0
The corresponding external analog input is not allowed.
1
The corresponding external analog input is allowed.
20.4 Functional description
The ACMP module is functionally composed of two parts: digital-to-analog (DAC) and
comparator (CMP).
The DAC includes a 64-level DAC (digital to analog converter) and relevant control
logic. DAC can select one of two reference inputs, V
DD
or on-chip bandgap, as the DAC
input V
in
by setting ACMP_C1[DACREF]. After the DAC is enabled, it converts the data
Functional description
MC9S08PT60 Reference Manual, Rev. 4, 08/2014
576
Freescale Semiconductor, Inc.
Содержание MC9S08PT60
Страница 2: ...MC9S08PT60 Reference Manual Rev 4 08 2014 2 Freescale Semiconductor Inc...
Страница 34: ...MC9S08PT60 Reference Manual Rev 4 08 2014 34 Freescale Semiconductor Inc...
Страница 40: ...System clock distribution MC9S08PT60 Reference Manual Rev 4 08 2014 40 Freescale Semiconductor Inc...
Страница 120: ...Flash and EEPROM registers descriptions MC9S08PT60 Reference Manual Rev 4 08 2014 120 Freescale Semiconductor Inc...
Страница 200: ...Port data registers MC9S08PT60 Reference Manual Rev 4 08 2014 200 Freescale Semiconductor Inc...
Страница 228: ...System clock gating control registers MC9S08PT60 Reference Manual Rev 4 08 2014 228 Freescale Semiconductor Inc...
Страница 262: ...Human machine interfaces HMI MC9S08PT60 Reference Manual Rev 4 08 2014 262 Freescale Semiconductor Inc...
Страница 298: ...Functional Description MC9S08PT60 Reference Manual Rev 4 08 2014 298 Freescale Semiconductor Inc...
Страница 396: ...FTM Interrupts MC9S08PT60 Reference Manual Rev 4 08 2014 396 Freescale Semiconductor Inc...
Страница 440: ...Functional description MC9S08PT60 Reference Manual Rev 4 08 2014 440 Freescale Semiconductor Inc...
Страница 468: ...Initialization Application Information MC9S08PT60 Reference Manual Rev 4 08 2014 468 Freescale Semiconductor Inc...
Страница 570: ...Application information MC9S08PT60 Reference Manual Rev 4 08 2014 570 Freescale Semiconductor Inc...
Страница 648: ...Memory map and register description MC9S08PT60 Reference Manual Rev 4 08 2014 648 Freescale Semiconductor Inc...
Страница 676: ...Resets MC9S08PT60 Reference Manual Rev 4 08 2014 676 Freescale Semiconductor Inc...