MKM34Z256VLx7 Bare Metal Software Drivers  R4.1.6
Reference Manual
CMP Callback Function

Overview

This section describes callback function of the driver. The callback function is called by the driver to notify software interrupt. All interrupt flags are cleared automatically by the driver.

Typedefs

typedef void(* CMP_CALLBACK) (CMP_CALLBACK_SRC module, CMP_CALLBACK_TYPE type)
 

Enumerations

enum  CMP_CALLBACK_SRC { CMP0_CALLBACK, CMP1_CALLBACK, CMP2_CALLBACK }
 CMP_CALLBACK type declaration. More...
 
enum  CMP_CALLBACK_TYPE { CMP_NEGEDGE_CALLBACK, CMP_POSEDGE_CALLBACK }
 CMP_CALLBACK type declaration. More...
 

Typedef Documentation

typedef void(* CMP_CALLBACK) (CMP_CALLBACK_SRC module, CMP_CALLBACK_TYPE type)

CMP_CALLBACK function declaration

Enumeration Type Documentation

Enumerator
CMP0_CALLBACK 

passed to notify CMP0 interrupt request

CMP1_CALLBACK 

passed to notify CMP1 interrupt request

CMP2_CALLBACK 

passed to notify CMP2 interrupt request

Enumerator
CMP_NEGEDGE_CALLBACK 

Negative edge on COUT detected.

CMP_POSEDGE_CALLBACK 

Positive edge on COUT detected.