stepper2 2.1.0.0
Stepper 2 Settings

Settings of Stepper 2 Click driver. More...

Macros

#define STEPPER2_PIN_STATE_LOW   0
 Stepper 2 pin logic state setting.
 
#define STEPPER2_PIN_STATE_HIGH   1
 
#define STEPPER2_DIR_CCW   0
 Stepper 2 direction setting.
 
#define STEPPER2_DIR_CW   1
 
#define STEPPER2_MODE_FULL_STEP   0
 Stepper 2 step resolution setting.
 
#define STEPPER2_MODE_HALF_STEP   1
 
#define STEPPER2_MODE_QUARTER_STEP   2
 
#define STEPPER2_MODE_1_OVER_8_STEP   3
 
#define STEPPER2_MICROSTEP_NUM_PER_STEP   32
 Stepper 2 microstep setting.
 
#define STEPPER2_SPEED_VERY_SLOW   0
 Stepper 2 device speed settings.
 
#define STEPPER2_SPEED_SLOW   1
 
#define STEPPER2_SPEED_MEDIUM   2
 
#define STEPPER2_SPEED_FAST   3
 
#define STEPPER2_SPEED_VERY_FAST   4
 

Detailed Description

Settings of Stepper 2 Click driver.

Macro Definition Documentation

◆ STEPPER2_DIR_CCW

#define STEPPER2_DIR_CCW   0

Stepper 2 direction setting.

Specified setting for direction of Stepper 2 Click driver.

◆ STEPPER2_DIR_CW

#define STEPPER2_DIR_CW   1

◆ STEPPER2_MICROSTEP_NUM_PER_STEP

#define STEPPER2_MICROSTEP_NUM_PER_STEP   32

Stepper 2 microstep setting.

Specified setting for microsteps of Stepper 2 Click driver.

◆ STEPPER2_MODE_1_OVER_8_STEP

#define STEPPER2_MODE_1_OVER_8_STEP   3

◆ STEPPER2_MODE_FULL_STEP

#define STEPPER2_MODE_FULL_STEP   0

Stepper 2 step resolution setting.

Specified setting for step resolution of Stepper 2 Click driver.

◆ STEPPER2_MODE_HALF_STEP

#define STEPPER2_MODE_HALF_STEP   1

◆ STEPPER2_MODE_QUARTER_STEP

#define STEPPER2_MODE_QUARTER_STEP   2

◆ STEPPER2_PIN_STATE_HIGH

#define STEPPER2_PIN_STATE_HIGH   1

◆ STEPPER2_PIN_STATE_LOW

#define STEPPER2_PIN_STATE_LOW   0

Stepper 2 pin logic state setting.

Specified setting for pin logic state of Stepper 2 Click driver.

◆ STEPPER2_SPEED_FAST

#define STEPPER2_SPEED_FAST   3

◆ STEPPER2_SPEED_MEDIUM

#define STEPPER2_SPEED_MEDIUM   2

◆ STEPPER2_SPEED_SLOW

#define STEPPER2_SPEED_SLOW   1

◆ STEPPER2_SPEED_VERY_FAST

#define STEPPER2_SPEED_VERY_FAST   4

◆ STEPPER2_SPEED_VERY_SLOW

#define STEPPER2_SPEED_VERY_SLOW   0

Stepper 2 device speed settings.

Specified setting for rotation speed.