stepper 2.1.0.0
Stepper Settings

Settings of Stepper Click driver. More...

Macros

#define STEPPER_PIN_STATE_LOW   0
 Stepper pin logic state setting.
 
#define STEPPER_PIN_STATE_HIGH   1
 
#define STEPPER_DIR_CW   0
 Stepper direction setting.
 
#define STEPPER_DIR_CCW   1
 
#define STEPPER_MODE_FULL_STEP   0
 Stepper step resolution setting.
 
#define STEPPER_MODE_HALF_STEP   1
 
#define STEPPER_MODE_QUARTER_STEP   2
 
#define STEPPER_MODE_1_OVER_8_STEP   3
 
#define STEPPER_MICROSTEP_NUM_PER_STEP   32
 Stepper microstep setting.
 
#define STEPPER_SPEED_VERY_SLOW   0
 Stepper device speed settings.
 
#define STEPPER_SPEED_SLOW   1
 
#define STEPPER_SPEED_MEDIUM   2
 
#define STEPPER_SPEED_FAST   3
 
#define STEPPER_SPEED_VERY_FAST   4
 

Detailed Description

Settings of Stepper Click driver.

Macro Definition Documentation

◆ STEPPER_DIR_CCW

#define STEPPER_DIR_CCW   1

◆ STEPPER_DIR_CW

#define STEPPER_DIR_CW   0

Stepper direction setting.

Specified setting for direction of Stepper Click driver.

◆ STEPPER_MICROSTEP_NUM_PER_STEP

#define STEPPER_MICROSTEP_NUM_PER_STEP   32

Stepper microstep setting.

Specified setting for microsteps of Stepper Click driver.

◆ STEPPER_MODE_1_OVER_8_STEP

#define STEPPER_MODE_1_OVER_8_STEP   3

◆ STEPPER_MODE_FULL_STEP

#define STEPPER_MODE_FULL_STEP   0

Stepper step resolution setting.

Specified setting for step resolution of Stepper Click driver.

◆ STEPPER_MODE_HALF_STEP

#define STEPPER_MODE_HALF_STEP   1

◆ STEPPER_MODE_QUARTER_STEP

#define STEPPER_MODE_QUARTER_STEP   2

◆ STEPPER_PIN_STATE_HIGH

#define STEPPER_PIN_STATE_HIGH   1

◆ STEPPER_PIN_STATE_LOW

#define STEPPER_PIN_STATE_LOW   0

Stepper pin logic state setting.

Specified setting for pin logic state of Stepper Click driver.

◆ STEPPER_SPEED_FAST

#define STEPPER_SPEED_FAST   3

◆ STEPPER_SPEED_MEDIUM

#define STEPPER_SPEED_MEDIUM   2

◆ STEPPER_SPEED_SLOW

#define STEPPER_SPEED_SLOW   1

◆ STEPPER_SPEED_VERY_FAST

#define STEPPER_SPEED_VERY_FAST   4

◆ STEPPER_SPEED_VERY_SLOW

#define STEPPER_SPEED_VERY_SLOW   0

Stepper device speed settings.

Specified setting for rotation speed.