Zephyr Project API 4.4.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stepper_ctrl_driver_api Struct Reference

@driver_ops{Stepper Motion Controller} More...

#include <stepper_ctrl.h>

Data Fields

stepper_ctrl_set_reference_position_t set_reference_position
 @driver_ops_optional Set the reference position.
stepper_ctrl_get_actual_position_t get_actual_position
 @driver_ops_optional Get the actual step count.
stepper_ctrl_set_event_cb_t set_event_cb
 @driver_ops_optional Set the callback function to be called when a stepper motion controller event occurs.
stepper_ctrl_set_microstep_interval_t set_microstep_interval
 @driver_ops_optional Set the time interval between steps in nanoseconds with immediate effect.
stepper_ctrl_configure_ramp_t configure_ramp
 @driver_ops_optional Configure the ramp for the stepper motion controller.
stepper_ctrl_move_by_t move_by
 @driver_ops_mandatory Set the micro-steps to be moved from the current position i.e.
stepper_ctrl_move_to_t move_to
 @driver_ops_mandatory Set the absolute target position of the stepper.
stepper_ctrl_run_t run
 @driver_ops_optional Run the stepper with a given step interval in a given direction.
stepper_ctrl_stop_t stop
 @driver_ops_optional Stop the stepper.
stepper_ctrl_is_moving_t is_moving
 @driver_ops_optional Check if the stepper is currently moving.

Detailed Description

@driver_ops{Stepper Motion Controller}

Field Documentation

◆ configure_ramp

stepper_ctrl_configure_ramp_t stepper_ctrl_driver_api::configure_ramp

@driver_ops_optional Configure the ramp for the stepper motion controller.

◆ get_actual_position

stepper_ctrl_get_actual_position_t stepper_ctrl_driver_api::get_actual_position

@driver_ops_optional Get the actual step count.

◆ is_moving

stepper_ctrl_is_moving_t stepper_ctrl_driver_api::is_moving

@driver_ops_optional Check if the stepper is currently moving.

◆ move_by

stepper_ctrl_move_by_t stepper_ctrl_driver_api::move_by

@driver_ops_mandatory Set the micro-steps to be moved from the current position i.e.

◆ move_to

stepper_ctrl_move_to_t stepper_ctrl_driver_api::move_to

@driver_ops_mandatory Set the absolute target position of the stepper.

◆ run

stepper_ctrl_run_t stepper_ctrl_driver_api::run

@driver_ops_optional Run the stepper with a given step interval in a given direction.

◆ set_event_cb

stepper_ctrl_set_event_cb_t stepper_ctrl_driver_api::set_event_cb

@driver_ops_optional Set the callback function to be called when a stepper motion controller event occurs.

◆ set_microstep_interval

stepper_ctrl_set_microstep_interval_t stepper_ctrl_driver_api::set_microstep_interval

@driver_ops_optional Set the time interval between steps in nanoseconds with immediate effect.

◆ set_reference_position

stepper_ctrl_set_reference_position_t stepper_ctrl_driver_api::set_reference_position

@driver_ops_optional Set the reference position.

◆ stop

stepper_ctrl_stop_t stepper_ctrl_driver_api::stop

@driver_ops_optional Stop the stepper.


The documentation for this struct was generated from the following file: