MKM34Z256VLx7 Bare Metal Software Drivers  R4.1.6
Reference Manual
TMR Input Capture Modes

Overview

List of timer capture modes.

Macros

#define CAPTURE_DISABLED
 Capture function is disabled.
 
#define LOAD_POSEDGE
 Load capture register on rising edge (when IPS=0) or falling edge (when IPS=1) of input.
 
#define LOAD_NEGEDGE
 Load capture register on falling edge (when IPS=0) or rising edge (when IPS=1) of input.
 
#define LOAD_ANYEDGE
 Load capture register on both edges of input.