Home
last modified time | relevance | path

Searched refs:MAX_MICRO_STEP_RES (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/stepper/
Dgpio_stepper_controller.c18 #define MAX_MICRO_STEP_RES STEPPER_MICRO_STEP_2 macro
22 half_step_lookup_table[NUM_CONTROL_PINS * MAX_MICRO_STEP_RES][NUM_CONTROL_PINS] = {
63 if (data->coil_charge == NUM_CONTROL_PINS * MAX_MICRO_STEP_RES - data->step_gap) { in increment_coil_charge()
75 data->coil_charge = NUM_CONTROL_PINS * MAX_MICRO_STEP_RES - data->step_gap; in decrement_coil_charge()
307 data->step_gap = MAX_MICRO_STEP_RES >> (micro_step_res - 1); in gpio_stepper_set_micro_step_res()
321 *micro_step_res = MAX_MICRO_STEP_RES >> (data->step_gap - 1); in gpio_stepper_get_micro_step_res()
397 .step_gap = MAX_MICRO_STEP_RES >> (DT_INST_PROP(inst, micro_step_res) - 1), \