Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/stepper/
Dstepper_shell.c26 struct stepper_direction_map { struct
75 static const struct stepper_direction_map stepper_direction_map[] = { variable
94 if (idx < ARRAY_SIZE(stepper_direction_map)) { in cmd_stepper_direction()
95 entry->syntax = stepper_direction_map[idx].name; in cmd_stepper_direction()
380 for (int i = 0; i < ARRAY_SIZE(stepper_direction_map); i++) { in cmd_stepper_run()
381 if (strcmp(argv[ARG_IDX_PARAM], stepper_direction_map[i].name) == 0) { in cmd_stepper_run()
382 direction = stepper_direction_map[i].direction; in cmd_stepper_run()