stepper20 2.1.0.0
Stepper 20 Registers Settings

Settings for registers of Stepper 20 Click driver. More...

Macros

#define STEPPER20_DMODE0_PIN   0x01
 Stepper 20 PCA9538A pin mask.
 
#define STEPPER20_DMODE1_PIN   0x02
 
#define STEPPER20_DMODE2_PIN   0x04
 
#define STEPPER20_SLEEP_X_PIN   0x08
 
#define STEPPER20_LO_PIN   0x10
 
#define STEPPER20_MO_PIN   0x20
 
#define STEPPER20_DEFAULT_CONFIG   0xF0
 Stepper 20 PCA9538A pin direction config.
 
#define STEPPER20_DIR_CCW   0
 Stepper 20 direction setting.
 
#define STEPPER20_DIR_CW   1
 
#define STEPPER20_PIN_LOW_LEVEL   0
 Stepper 20 pin logic level setting.
 
#define STEPPER20_PIN_HIGH_LEVEL   1
 
#define STEPPER20_MODE_FULL_STEP   0x00
 Stepper 20 step resolution setting.
 
#define STEPPER20_MODE_HALF_STEP   0x01
 
#define STEPPER20_MODE_QUARTER_STEP   0x02
 
#define STEPPER20_MODE_1_OVER_8   0x03
 
#define STEPPER20_MODE_1_OVER_16   0x04
 
#define STEPPER20_MODE_1_OVER_32   0x05
 
#define STEPPER20_MODE_MASK   0x07
 
#define STEPPER20_SPEED_VERY_SLOW   0
 Stepper 20 device speed settings.
 
#define STEPPER20_SPEED_SLOW   1
 
#define STEPPER20_SPEED_MEDIUM   2
 
#define STEPPER20_SPEED_FAST   3
 
#define STEPPER20_SPEED_VERY_FAST   4
 
#define STEPPER20_DEVICE_ADDRESS_A1A0_00   0x70
 Stepper 20 device address setting.
 
#define STEPPER20_DEVICE_ADDRESS_A1A0_01   0x71
 
#define STEPPER20_DEVICE_ADDRESS_A1A0_10   0x72
 
#define STEPPER20_DEVICE_ADDRESS_A1A0_11   0x73
 

Detailed Description

Settings for registers of Stepper 20 Click driver.

Macro Definition Documentation

◆ STEPPER20_DEFAULT_CONFIG

#define STEPPER20_DEFAULT_CONFIG   0xF0

Stepper 20 PCA9538A pin direction config.

Specified PCA9538A pin direction config of Stepper 20 Click driver.

◆ STEPPER20_DEVICE_ADDRESS_A1A0_00

#define STEPPER20_DEVICE_ADDRESS_A1A0_00   0x70

Stepper 20 device address setting.

Specified setting for device slave address selection of Stepper 20 Click driver.

◆ STEPPER20_DEVICE_ADDRESS_A1A0_01

#define STEPPER20_DEVICE_ADDRESS_A1A0_01   0x71

◆ STEPPER20_DEVICE_ADDRESS_A1A0_10

#define STEPPER20_DEVICE_ADDRESS_A1A0_10   0x72

◆ STEPPER20_DEVICE_ADDRESS_A1A0_11

#define STEPPER20_DEVICE_ADDRESS_A1A0_11   0x73

◆ STEPPER20_DIR_CCW

#define STEPPER20_DIR_CCW   0

Stepper 20 direction setting.

Specified setting for direction of Stepper 20 Click driver.

◆ STEPPER20_DIR_CW

#define STEPPER20_DIR_CW   1

◆ STEPPER20_DMODE0_PIN

#define STEPPER20_DMODE0_PIN   0x01

Stepper 20 PCA9538A pin mask.

Specified PCA9538A pin mask of Stepper 20 Click driver.

◆ STEPPER20_DMODE1_PIN

#define STEPPER20_DMODE1_PIN   0x02

◆ STEPPER20_DMODE2_PIN

#define STEPPER20_DMODE2_PIN   0x04

◆ STEPPER20_LO_PIN

#define STEPPER20_LO_PIN   0x10

◆ STEPPER20_MO_PIN

#define STEPPER20_MO_PIN   0x20

◆ STEPPER20_MODE_1_OVER_16

#define STEPPER20_MODE_1_OVER_16   0x04

◆ STEPPER20_MODE_1_OVER_32

#define STEPPER20_MODE_1_OVER_32   0x05

◆ STEPPER20_MODE_1_OVER_8

#define STEPPER20_MODE_1_OVER_8   0x03

◆ STEPPER20_MODE_FULL_STEP

#define STEPPER20_MODE_FULL_STEP   0x00

Stepper 20 step resolution setting.

Specified setting for step resolution of Stepper 20 Click driver.

◆ STEPPER20_MODE_HALF_STEP

#define STEPPER20_MODE_HALF_STEP   0x01

◆ STEPPER20_MODE_MASK

#define STEPPER20_MODE_MASK   0x07

◆ STEPPER20_MODE_QUARTER_STEP

#define STEPPER20_MODE_QUARTER_STEP   0x02

◆ STEPPER20_PIN_HIGH_LEVEL

#define STEPPER20_PIN_HIGH_LEVEL   1

◆ STEPPER20_PIN_LOW_LEVEL

#define STEPPER20_PIN_LOW_LEVEL   0

Stepper 20 pin logic level setting.

Specified setting for pin logic level of Stepper 20 Click driver.

◆ STEPPER20_SLEEP_X_PIN

#define STEPPER20_SLEEP_X_PIN   0x08

◆ STEPPER20_SPEED_FAST

#define STEPPER20_SPEED_FAST   3

◆ STEPPER20_SPEED_MEDIUM

#define STEPPER20_SPEED_MEDIUM   2

◆ STEPPER20_SPEED_SLOW

#define STEPPER20_SPEED_SLOW   1

◆ STEPPER20_SPEED_VERY_FAST

#define STEPPER20_SPEED_VERY_FAST   4

◆ STEPPER20_SPEED_VERY_SLOW

#define STEPPER20_SPEED_VERY_SLOW   0

Stepper 20 device speed settings.

Specified setting for rotation speed.