Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/stepper/
Dstepper_shell.c17 ARG_IDX_PARAM = 2, enumerator
179 bool enable = shell_strtobool(argv[ARG_IDX_PARAM], 10, &err); in cmd_stepper_enable()
203 int32_t micro_steps = shell_strtol(argv[ARG_IDX_PARAM], 10, &err); in cmd_stepper_move_by()
231 uint32_t velocity = shell_strtoul(argv[ARG_IDX_PARAM], 10, &err); in cmd_stepper_set_max_velocity()
257 if (strcmp(argv[ARG_IDX_PARAM], stepper_microstep_map[i].name) == 0) { in cmd_stepper_set_micro_step_res()
264 shell_error(sh, "Invalid microstep value %s", argv[ARG_IDX_PARAM]); in cmd_stepper_set_micro_step_res()
306 int32_t position = shell_strtol(argv[ARG_IDX_PARAM], 10, &err); in cmd_stepper_set_reference_position()
350 const int32_t position = shell_strtol(argv[ARG_IDX_PARAM], 10, &err); in cmd_stepper_move_to()
381 if (strcmp(argv[ARG_IDX_PARAM], stepper_direction_map[i].name) == 0) { in cmd_stepper_run()
388 shell_error(sh, "Invalid direction %s", argv[ARG_IDX_PARAM]); in cmd_stepper_run()