22.4.3.3 Minimum Capture
Minimum capture is enabled by selecting the CAPTMIN mode in the Channel n Capture Mode bits of the Control A register (CTRLA.CAPTMODEn = CAPTMIN).
CC[n] Content:
In CAPTMIN operations, the CC[n] register stores the Minimum captured values. Before enabling this capture mode, the user must initialize the corresponding CC[n] register value to a value other than ZERO. If the initial value of CC[n] register is ZERO, no captures will be performed using the corresponding channel.
MCn Behaviour:
In CAPTMIN operation, a capture is performed only if, at the time of capture event time, the counter value is lower than the last captured value. The MCn interrupt flag is set only if, at the time of capture event time, the counter value is greater or equal to the value captured during the previous event. Therefore, interrupt flag is set when a new absolute Minimum value has been detected.
