Skip to main content

DEFAULT_PULSE_MICROS

Constant DEFAULT_PULSE_MICROS 

Source
pub const DEFAULT_PULSE_MICROS: u32 = 10;
Expand description

The width of a step pulse a step/direction driver starts with, in microseconds.

A step/direction driver holds the direction line this long before it raises the step line, then holds the step line high this long. An A4988 needs 200 ns of setup and a microsecond high, a DRV8825 650 ns and 1.9 microseconds; ten leaves room for a slow pin. The chip’s datasheet gives its minimums.