Stepper Motor Timer Driver
Stepper Motor Timer Driver
Stepper Motor Timer Driver Overview
The primary function of the Stepper Motor Timer Driver is to ensure that the stepper motor is driven with the correct timing, ensuring smooth and precise movements. It works by generating pulses at a specified rate, which are sent to the stepper motor driver circuit. The timing of these pulses determines the speed and direction of the motor’s rotation.
Application Interface
This driver implements the stepper driver using the following
Module |
Description |
|---|---|
rs_stepper_timer_driver_init |
Initializes the timer based stepper driver |
rs_stepper_timer_driver_set_timer |
To sets the timer for the driver |
rs_stepper_timer_driver_set_enable_pin |
To sets the enable pin for the driver |
rs_stepper_timer_driver_set_direction_pin |
To sets the direction pin for the driver |
rs_stepper_timer_driver_set_pulse_pin |
To sets the pulse pin for the driver |
rs_stepper_timer_driver_set_limit_pin |
To sets the limit pin for the driver |
rs_stepper_timer_driver_timer_on |
To on the timer of the driver |
rs_stepper_timer_driver_timer_callback |
To call from the timer interrupt |
rs_stepper_timer_driver_process |
To process the stepper timer driver |
Stepper Motor Timer Driver Header details
Documentation from the relevant header as follows:
Warning
doxygenfile: Cannot find file “rs_stepper_timer_driver.h