![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 172](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847172.webp)
If the selected clock is not the 1 kHz clock source, the COP counter does not increment
while the microcontroller is in Debug mode or while the system is in Stop (including
VLPS or LLS) mode. The COP counter resumes when the microcontroller exits Debug or
Stop mode.
The COP counter is re-initialized to 0 upon entry to either Debug mode or Stop
(including VLPS or LLS) mode. The counter begins from 0 upon exit from Debug mode
or Stop mode.
The COP counter can also be configured to continue incrementing during Debug mode or
Stop (including VLPS) mode if either COPDBGEN or COPSTPEN are set respectively.
When the selected clock is the bus clock and COPSTEN bit is set, the COP counter
cannot increment during Stop modes, however the COP counter is not reset to 0.
Regardless of the clock selected, the COP is disabled when the chip enters a VLLSx
mode. Upon a reset that wakes the chip from the VLLSx mode, the COP is reinitialized
and enabled as for any reset.
Functional description
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
172
Freescale Semiconductor, Inc.