1) Drag the block into the schematic.
2) Connect the inputs to two GPIOs. These would correspond to the 2 out-of-phase output pins of a rotary encoder. In hardware configuration, set the GPIOs to “no debounce.”
The value in the field sets the time constant (in samples) for the debouncer; the default is 20. Adjust this value by trial and error using the rotary encoder in your end system.
The Example illustrates use of the block.