Event compare mode (default) uses a handshake to ensure
hardware/software synchronization. A single rising edge and single
falling edge on the compare output is guaranteed. This mode is useful
when re-arming compare objects is required for multiple compare
position. There is system overhead to re-arm compare events.
Continuous compare mode constantly compares the compare
position register to the position counter. The compare output is
toggled based on compare logic, without software system notification
and without the need to re-arm. This mode is useful when a single
compare position is required for a valid compare output whenever
the position is past some limit. If the position feedback during
a move is not monotonic at the compare value (jitters back and forth),
the compare output will change state each time the position crosses
the compare value.
|