Periodic Interrupt mode |
Set when the counter reaches TOP |
CCMP |
CNT == TOP |
Timeout Check mode |
Set when the counter reaches TOP |
Single-Shot mode |
Set when the counter reaches TOP |
Input Capture Frequency Measurement mode |
Set on edge when the Capture register is loaded
and the counter restarts; the flag clears when the capture is
read |
-- |
On Event, copy CNT to CCMP, and restart counting
(CNT == BOTTOM) |
Input Capture on Event mode |
Set when an event occurs and the Capture
register is loaded; the flag clears when the capture is
read |
On Event, copy CNT to CCMP, and
continue counting |
Input Capture Pulse-Width Measurement
mode |
Set on edge when the Capture register is loaded;
the previous edge initialized the count; the flag clears when
the capture is read |
Input Capture Frequency and Pulse-Width
Measurement mode |
Set on the second edge (positive or negative)
when the counter is stopped; the flag clears when the capture is
read |
8-Bit PWM mode |
Set when the counter reaches CCML |
CCML |
CNT == CCML |