stepper21 2.1.0.0
Stepper 21 Registers Settings

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

Macros

#define STEPPER21_PIN_SLEEP   0x01
 Stepper 21 PCA9538A pin mask.
 
#define STEPPER21_PIN_FAULT   0x02
 
#define STEPPER21_PIN_DECAY   0x04
 
#define STEPPER21_PIN_ENABLE   0x08
 
#define STEPPER21_PIN_HOME   0x10
 
#define STEPPER21_PIN_MODE0   0x20
 
#define STEPPER21_PIN_MODE1   0x40
 
#define STEPPER21_PIN_MODE2   0x80
 
#define STEPPER21_DEFAULT_CONFIG   0x16
 Stepper 21 PCA9538A pin direction config.
 
#define STEPPER21_DIR_CCW   0
 Stepper 21 direction setting.
 
#define STEPPER21_DIR_CW   1
 
#define STEPPER21_PIN_STATE_LOW   0
 Stepper 21 pin logic state setting.
 
#define STEPPER21_PIN_STATE_HIGH   1
 
#define STEPPER21_PIN_STATE_OPEN   2
 
#define STEPPER21_MODE_FULL_STEP   0x00
 Stepper 21 step resolution setting.
 
#define STEPPER21_MODE_HALF_STEP   0x01
 
#define STEPPER21_MODE_QUARTER_STEP   0x02
 
#define STEPPER21_MODE_1_OVER_8   0x03
 
#define STEPPER21_MODE_1_OVER_16   0x04
 
#define STEPPER21_MODE_1_OVER_32   0x05
 
#define STEPPER21_MODE_MASK   0x07
 
#define STEPPER21_SPEED_VERY_SLOW   0
 Stepper 21 device speed settings.
 
#define STEPPER21_SPEED_SLOW   1
 
#define STEPPER21_SPEED_MEDIUM   2
 
#define STEPPER21_SPEED_FAST   3
 
#define STEPPER21_SPEED_VERY_FAST   4
 
#define STEPPER21_DEVICE_ADDRESS_A1A0_00   0x70
 Stepper 21 device address setting.
 
#define STEPPER21_DEVICE_ADDRESS_A1A0_01   0x71
 
#define STEPPER21_DEVICE_ADDRESS_A1A0_10   0x72
 
#define STEPPER21_DEVICE_ADDRESS_A1A0_11   0x73
 

Detailed Description

Settings for registers of Stepper 21 Click driver.

Macro Definition Documentation

◆ STEPPER21_DEFAULT_CONFIG

#define STEPPER21_DEFAULT_CONFIG   0x16

Stepper 21 PCA9538A pin direction config.

Specified PCA9538A pin direction config of Stepper 21 Click driver.

◆ STEPPER21_DEVICE_ADDRESS_A1A0_00

#define STEPPER21_DEVICE_ADDRESS_A1A0_00   0x70

Stepper 21 device address setting.

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

◆ STEPPER21_DEVICE_ADDRESS_A1A0_01

#define STEPPER21_DEVICE_ADDRESS_A1A0_01   0x71

◆ STEPPER21_DEVICE_ADDRESS_A1A0_10

#define STEPPER21_DEVICE_ADDRESS_A1A0_10   0x72

◆ STEPPER21_DEVICE_ADDRESS_A1A0_11

#define STEPPER21_DEVICE_ADDRESS_A1A0_11   0x73

◆ STEPPER21_DIR_CCW

#define STEPPER21_DIR_CCW   0

Stepper 21 direction setting.

Specified setting for direction of Stepper 21 Click driver.

◆ STEPPER21_DIR_CW

#define STEPPER21_DIR_CW   1

◆ STEPPER21_MODE_1_OVER_16

#define STEPPER21_MODE_1_OVER_16   0x04

◆ STEPPER21_MODE_1_OVER_32

#define STEPPER21_MODE_1_OVER_32   0x05

◆ STEPPER21_MODE_1_OVER_8

#define STEPPER21_MODE_1_OVER_8   0x03

◆ STEPPER21_MODE_FULL_STEP

#define STEPPER21_MODE_FULL_STEP   0x00

Stepper 21 step resolution setting.

Specified setting for step resolution of Stepper 21 Click driver.

◆ STEPPER21_MODE_HALF_STEP

#define STEPPER21_MODE_HALF_STEP   0x01

◆ STEPPER21_MODE_MASK

#define STEPPER21_MODE_MASK   0x07

◆ STEPPER21_MODE_QUARTER_STEP

#define STEPPER21_MODE_QUARTER_STEP   0x02

◆ STEPPER21_PIN_DECAY

#define STEPPER21_PIN_DECAY   0x04

◆ STEPPER21_PIN_ENABLE

#define STEPPER21_PIN_ENABLE   0x08

◆ STEPPER21_PIN_FAULT

#define STEPPER21_PIN_FAULT   0x02

◆ STEPPER21_PIN_HOME

#define STEPPER21_PIN_HOME   0x10

◆ STEPPER21_PIN_MODE0

#define STEPPER21_PIN_MODE0   0x20

◆ STEPPER21_PIN_MODE1

#define STEPPER21_PIN_MODE1   0x40

◆ STEPPER21_PIN_MODE2

#define STEPPER21_PIN_MODE2   0x80

◆ STEPPER21_PIN_SLEEP

#define STEPPER21_PIN_SLEEP   0x01

Stepper 21 PCA9538A pin mask.

Specified PCA9538A pin mask of Stepper 21 Click driver.

◆ STEPPER21_PIN_STATE_HIGH

#define STEPPER21_PIN_STATE_HIGH   1

◆ STEPPER21_PIN_STATE_LOW

#define STEPPER21_PIN_STATE_LOW   0

Stepper 21 pin logic state setting.

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

◆ STEPPER21_PIN_STATE_OPEN

#define STEPPER21_PIN_STATE_OPEN   2

◆ STEPPER21_SPEED_FAST

#define STEPPER21_SPEED_FAST   3

◆ STEPPER21_SPEED_MEDIUM

#define STEPPER21_SPEED_MEDIUM   2

◆ STEPPER21_SPEED_SLOW

#define STEPPER21_SPEED_SLOW   1

◆ STEPPER21_SPEED_VERY_FAST

#define STEPPER21_SPEED_VERY_FAST   4

◆ STEPPER21_SPEED_VERY_SLOW

#define STEPPER21_SPEED_VERY_SLOW   0

Stepper 21 device speed settings.

Specified setting for rotation speed.