Settings for registers of Stepper 17 Click driver.
More...
Settings for registers of Stepper 17 Click driver.
◆ STEPPER17_DECAY_ADMD
#define STEPPER17_DECAY_ADMD 0x03 |
◆ STEPPER17_DECAY_FAST
#define STEPPER17_DECAY_FAST 0x02 |
◆ STEPPER17_DECAY_MASK
#define STEPPER17_DECAY_MASK 0x03 |
◆ STEPPER17_DECAY_MIXED
#define STEPPER17_DECAY_MIXED 0x00 |
Stepper 17 decay setting.
Specified setting for decay of Stepper 17 Click driver.
◆ STEPPER17_DECAY_SLOW
#define STEPPER17_DECAY_SLOW 0x01 |
◆ STEPPER17_DEVICE_ADDRESS_A2A1A0_000
#define STEPPER17_DEVICE_ADDRESS_A2A1A0_000 0x20 |
Stepper 17 device address setting.
Specified setting for device slave address selection of Stepper 17 Click driver.
◆ STEPPER17_DEVICE_ADDRESS_A2A1A0_001
#define STEPPER17_DEVICE_ADDRESS_A2A1A0_001 0x21 |
◆ STEPPER17_DEVICE_ADDRESS_A2A1A0_010
#define STEPPER17_DEVICE_ADDRESS_A2A1A0_010 0x22 |
◆ STEPPER17_DEVICE_ADDRESS_A2A1A0_011
#define STEPPER17_DEVICE_ADDRESS_A2A1A0_011 0x23 |
◆ STEPPER17_DEVICE_ADDRESS_A2A1A0_100
#define STEPPER17_DEVICE_ADDRESS_A2A1A0_100 0x24 |
◆ STEPPER17_DEVICE_ADDRESS_A2A1A0_101
#define STEPPER17_DEVICE_ADDRESS_A2A1A0_101 0x25 |
◆ STEPPER17_DEVICE_ADDRESS_A2A1A0_110
#define STEPPER17_DEVICE_ADDRESS_A2A1A0_110 0x26 |
◆ STEPPER17_DEVICE_ADDRESS_A2A1A0_111
#define STEPPER17_DEVICE_ADDRESS_A2A1A0_111 0x27 |
◆ STEPPER17_DIR_CCW
#define STEPPER17_DIR_CCW 0 |
◆ STEPPER17_DIR_CW
#define STEPPER17_DIR_CW 1 |
Stepper 17 direction setting.
Specified setting for direction of Stepper 17 Click driver.
◆ STEPPER17_MODE_1_OVER_16
#define STEPPER17_MODE_1_OVER_16 0x05 |
◆ STEPPER17_MODE_1_OVER_32
#define STEPPER17_MODE_1_OVER_32 0x03 |
◆ STEPPER17_MODE_1_OVER_8
#define STEPPER17_MODE_1_OVER_8 0x01 |
◆ STEPPER17_MODE_FULL_STEP
#define STEPPER17_MODE_FULL_STEP 0x00 |
Stepper 17 step resolution setting.
Specified setting for step resolution of Stepper 17 Click driver.
◆ STEPPER17_MODE_HALF_STEP_TYPE_A
#define STEPPER17_MODE_HALF_STEP_TYPE_A 0x04 |
◆ STEPPER17_MODE_HALF_STEP_TYPE_B
#define STEPPER17_MODE_HALF_STEP_TYPE_B 0x02 |
◆ STEPPER17_MODE_MASK
#define STEPPER17_MODE_MASK 0x07 |
◆ STEPPER17_MODE_QUARTER_STEP
#define STEPPER17_MODE_QUARTER_STEP 0x06 |
◆ STEPPER17_P0_DECAY1_PIN
#define STEPPER17_P0_DECAY1_PIN 0x08 |
◆ STEPPER17_P0_DECAY2_PIN
#define STEPPER17_P0_DECAY2_PIN 0x10 |
◆ STEPPER17_P0_DEFAULT_CONFIG
#define STEPPER17_P0_DEFAULT_CONFIG 0x00 |
Stepper 17 PCA9555A pin direction config.
Specified PCA9555A pin direction config of Stepper 17 Click driver.
◆ STEPPER17_P0_DMODE0_PIN
#define STEPPER17_P0_DMODE0_PIN 0x01 |
Stepper 17 PCA9555A pin mask.
Specified PCA9555A pin mask of Stepper 17 Click driver.
◆ STEPPER17_P0_DMODE1_PIN
#define STEPPER17_P0_DMODE1_PIN 0x02 |
◆ STEPPER17_P0_DMODE2_PIN
#define STEPPER17_P0_DMODE2_PIN 0x04 |
◆ STEPPER17_P0_SLEEP_X_PIN
#define STEPPER17_P0_SLEEP_X_PIN 0x80 |
◆ STEPPER17_P0_TRQ0_PIN
#define STEPPER17_P0_TRQ0_PIN 0x20 |
◆ STEPPER17_P0_TRQ1_PIN
#define STEPPER17_P0_TRQ1_PIN 0x40 |
◆ STEPPER17_P1_DEFAULT_CONFIG
#define STEPPER17_P1_DEFAULT_CONFIG 0xFF |
◆ STEPPER17_P1_LO1_PIN
#define STEPPER17_P1_LO1_PIN 0x01 |
◆ STEPPER17_P1_LO2_PIN
#define STEPPER17_P1_LO2_PIN 0x02 |
◆ STEPPER17_P1_MO_PIN
#define STEPPER17_P1_MO_PIN 0x04 |
◆ STEPPER17_PIN_HIGH_LEVEL
#define STEPPER17_PIN_HIGH_LEVEL 1 |
◆ STEPPER17_PIN_LOW_LEVEL
#define STEPPER17_PIN_LOW_LEVEL 0 |
Stepper 17 pin logic level setting.
Specified setting for pin logic level of Stepper 17 Click driver.
◆ STEPPER17_SPEED_FAST
#define STEPPER17_SPEED_FAST 3 |
◆ STEPPER17_SPEED_MEDIUM
#define STEPPER17_SPEED_MEDIUM 2 |
◆ STEPPER17_SPEED_SLOW
#define STEPPER17_SPEED_SLOW 1 |
◆ STEPPER17_SPEED_VERY_FAST
#define STEPPER17_SPEED_VERY_FAST 4 |
◆ STEPPER17_SPEED_VERY_SLOW
#define STEPPER17_SPEED_VERY_SLOW 0 |
Stepper 17 device speed settings.
Specified setting for rotation speed.
◆ STEPPER17_TORQUE_100_PCT
#define STEPPER17_TORQUE_100_PCT 0x00 |
Stepper 17 torque setting.
Specified setting for torque of Stepper 17 Click driver.
◆ STEPPER17_TORQUE_25_PCT
#define STEPPER17_TORQUE_25_PCT 0x03 |
◆ STEPPER17_TORQUE_50_PCT
#define STEPPER17_TORQUE_50_PCT 0x02 |
◆ STEPPER17_TORQUE_75_PCT
#define STEPPER17_TORQUE_75_PCT 0x01 |
◆ STEPPER17_TORQUE_MASK
#define STEPPER17_TORQUE_MASK 0x03 |