LGR-5320 Series User's Guide
Functional Details
27
subsequent glitches within the group if the debounce time is set accordingly. Set the debounce time to
encompass one entire group of glitches, as shown in Figure 24.
Figure 24. Optimal debounce time for
trigger before stable
mode
Trigger after stable
mode behaves more like a traditional debounce function: rejecting glitches and only passing
state transitions after a required period of stability. Use
Trigger after stable
with electromechanical devices like
encoders and mechanical switches to reject switch bounce and disturbances due to a vibrating encoder that is
not otherwise moving. The debounce time should be set short enough to accept the desired input pulse, but
longer than the period of the undesired disturbance, as shown in Figure 25.
Figure 25. Optimal debounce time for
trigger after stable
mode