Section number Title Page
23.3.1 Control Register (EWM_CTRL)................................................................................................................. 512
23.3.2 Service Register (EWM_SERV)..................................................................................................................513
23.3.3 Compare Low Register (EWM_CMPL)......................................................................................................513
23.3.4 Compare High Register (EWM_CMPH).....................................................................................................514
23.3.5 Clock Prescaler Register (EWM_CLKPRESCALER)................................................................................515
23.4 Functional Description..................................................................................................................................................515
23.4.1 The EWM_out Signal.................................................................................................................................. 515
23.4.2 The EWM_in Signal.................................................................................................................................... 516
23.4.3 EWM Counter..............................................................................................................................................517
23.4.4 EWM Compare Registers............................................................................................................................ 517
23.4.5 EWM Refresh Mechanism...........................................................................................................................517
23.4.6 EWM Interrupt.............................................................................................................................................518
23.4.7 Counter clock prescaler................................................................................................................................518
Chapter 24
Watchdog Timer (WDOG)
24.1 Introduction...................................................................................................................................................................519
24.2 Features.........................................................................................................................................................................519
24.3 Functional overview......................................................................................................................................................520
24.3.1 Unlocking and updating the watchdog.........................................................................................................522
24.3.2 Watchdog configuration time (WCT)..........................................................................................................523
24.3.3 Refreshing the watchdog..............................................................................................................................524
24.3.4 Windowed mode of operation......................................................................................................................524
24.3.5 Watchdog disabled mode of operation.........................................................................................................524
24.3.6 Debug modes of operation........................................................................................................................... 524
24.4 Testing the watchdog.................................................................................................................................................... 525
24.4.1 Quick test..................................................................................................................................................... 526
24.4.2 Byte test........................................................................................................................................................526
24.5 Backup reset generator..................................................................................................................................................527
24.6 Generated resets and interrupts.....................................................................................................................................528
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
18 NXP Semiconductors