MKMxxZxxACxx5 Bare Metal Software Drivers  R4.1.6
Reference Manual
TMR Callback Function

Overview

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

Typedefs

typedef void(* TMR_CH_CALLBACK) (TMR_CH_CALLBACK_TYPE type)
 TMR_CH_CALLBACK function declaration.
 

Enumerations

enum  TMR_CH_CALLBACK_TYPE { ROLLOVER_CALLBACK, COMPARE_CALLBACK, CAPTURE_CALLBACK }
 

Enumeration Type Documentation

TMR_CH_CALLBACK type declaration

Enumerator
ROLLOVER_CALLBACK 

Counter roll over occurred either at 0xffff or at 0x0000.

COMPARE_CALLBACK 

Counter value matched COMP1 or COMP2 value.

CAPTURE_CALLBACK 

Input capture event detected.