Section number Title Page
28.4.2 Voltage reference selection..........................................................................................................................445
28.4.3 Hardware trigger and channel selects..........................................................................................................445
28.4.4 Conversion control.......................................................................................................................................446
28.4.5 Automatic compare function........................................................................................................................453
28.4.6 Calibration function.....................................................................................................................................455
28.4.7 User-defined offset function........................................................................................................................456
28.4.8 Temperature sensor......................................................................................................................................457
28.4.9 MCU wait mode operation...........................................................................................................................458
28.4.10 MCU Normal Stop mode operation.............................................................................................................458
28.4.11 MCU Low-Power Stop mode operation......................................................................................................459
28.5 Initialization information..............................................................................................................................................460
28.5.1 ADC module initialization example............................................................................................................460
28.6 Application information................................................................................................................................................462
28.6.1 External pins and routing.............................................................................................................................462
28.6.2 Sources of error............................................................................................................................................464
Chapter 29
Comparator (CMP)
29.1 Introduction...................................................................................................................................................................469
29.2 CMP features................................................................................................................................................................469
29.3 6-bit DAC key features.................................................................................................................................................470
29.4 ANMUX key features...................................................................................................................................................471
29.5 CMP, DAC and ANMUX diagram...............................................................................................................................471
29.6 CMP block diagram......................................................................................................................................................472
29.7 Memory map/register definitions..................................................................................................................................474
29.7.1 CMP Control Register 0 (CMPx_CR0).......................................................................................................474
29.7.2 CMP Control Register 1 (CMPx_CR1).......................................................................................................475
29.7.3 CMP Filter Period Register (CMPx_FPR)...................................................................................................477
29.7.4 CMP Status and Control Register (CMPx_SCR).........................................................................................477
29.7.5 DAC Control Register (CMPx_DACCR)....................................................................................................478
KL05 Sub-Family Reference Manual, Rev. 3.1, November 2012
Freescale Semiconductor, Inc. 19