MKMxxZxxACxx5 Bare Metal Software Drivers  R4.1.6
Reference Manual
EWM API Specification

Overview

This section describes functions and macros of the driver's API.

Macros

#define EWM_WriteRefreshSeq()
 Refreshes the ewm counter. More...
 
#define EWM_Init(cfg, ip, callback)
 External Watchdog Module initialization. More...
 

Macro Definition Documentation

#define EWM_WriteRefreshSeq ( )

This macro refreshes the EWM counter.

Note
Implemented as an inline macro.
#define EWM_Init (   cfg,
  ip,
  callback 
)

This function initializes External Watchdog Monitor.

Parameters
cfgSelect one of the following EWM Configuration Structures.
ipSelect one of the ARM Cortex-M0+ Interrupt Priority Levels.
callbackPointer to the EWM Callback Function.
Note
Implemented as a function call.
Warning
Call this function only once after a CPU reset. Calling this function more than once generates a bus transfer error.