MKMxxZxxACxx5 Bare Metal Software Drivers  R4.1.6
Reference Manual
EWM Example

This example shows typical use of the External Watchdog Monitor (EWM) module.

Source code:
#include "drivers.h"
void main (void)
{
/* enable clocks to all on chip peripherals */
/* upper watchdog window timeout is 200 ms */
while(1)
{
EWM_WriteRefreshSeq(); /* EWM counter refresh */
}
}
Toolchain support:
IAR EWARM 7.40.7CodeWarrior 10.6KEIL uVision 5.15CrossWorks 3.6ATOLLIC TrueStudio 5.3.0Kinetis Design Studio 3.0.0