35.3.2.2 Stop mode operationDepending on clock restrictions related to the MCU core or core peripherals, the MCU isbrought out of stop when a compare event occurs and the corresponding interrupt isenabled. Similarly, if CR1[OPE] is enabled, the comparator output operates as in thenormal operating mode and comparator output is placed onto the external pin. In Stopmodes, the comparator can be operational in both:• High-Speed (HS) Comparison mode when CR1[PMODE] = 1• Low-Speed (LS) Comparison mode when CR1[PMODE] = 0It is recommended to use the LS mode to minimize power consumption.If stop is exited with a reset, all comparator registers are put into their reset state.35.3.2.3 Low-Leakage mode operationWhen the chip is in Low-Leakage modes:• The CMP module is partially functional and is limited to Low-Speed mode,regardless of CR1[PMODE] setting• Windowed, Sampled, and Filtered modes are not supported• The CMP output pin is latched and does not reflect the compare output state.The positive- and negative-input voltage can be supplied from external pins or the DACoutput. The MCU can be brought out of the Low-Leakage mode if a compare eventoccurs and the CMP interrupt is enabled. After wakeup from low-leakage modes, theCMP module is in the reset state except for SCR[CFF] and SCR[CFR].35.3.3 Startup and operationA typical startup sequence is listed here.• The time required to stabilize COUT will be the power-on delay of the comparatorsplus the largest propagation delay from a selected analog source through the analogcomparator, windowing function and filter. See the Data Sheets for power-on delaysof the comparators. The windowing function has a maximum of one bus clock perioddelay. The filter delay is specified in the Low-pass filter.• During operation, the propagation delay of the selected data paths must always beconsidered. It may take many bus clock cycles for COUT and SCR[CFR]/SCR[CFF]Functional descriptionK22F Sub-Family Reference Manual, Rev. 4, 08/2016838 NXP Semiconductors