stepper12 2.1.0.0
Stepper 12 Registers Settings

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

Macros

#define STEPPER12_P0_DMODE0_PIN   0x01
 Stepper 12 PCA9555A pin mask.
 
#define STEPPER12_P0_DMODE1_PIN   0x02
 
#define STEPPER12_P0_DMODE2_PIN   0x04
 
#define STEPPER12_P0_DECAY_PIN   0x08
 
#define STEPPER12_P0_TRQ0_PIN   0x20
 
#define STEPPER12_P0_TRQ1_PIN   0x40
 
#define STEPPER12_P0_SLEEP_X_PIN   0x80
 
#define STEPPER12_P1_LO_PIN   0x01
 
#define STEPPER12_P1_MO_PIN   0x04
 
#define STEPPER12_P0_DEFAULT_CONFIG   0x10
 Stepper 12 PCA9555A pin direction config.
 
#define STEPPER12_P1_DEFAULT_CONFIG   0xFF
 
#define STEPPER12_DIR_CW   1
 Stepper 12 direction setting.
 
#define STEPPER12_DIR_CCW   0
 
#define STEPPER12_PIN_LOW_LEVEL   0
 Stepper 12 pin logic level setting.
 
#define STEPPER12_PIN_HIGH_LEVEL   1
 
#define STEPPER12_MODE_FULL_STEP   0x00
 Stepper 12 step resolution setting.
 
#define STEPPER12_MODE_1_OVER_8   0x01
 
#define STEPPER12_MODE_HALF_STEP_TYPE_B   0x02
 
#define STEPPER12_MODE_1_OVER_32   0x03
 
#define STEPPER12_MODE_HALF_STEP_TYPE_A   0x04
 
#define STEPPER12_MODE_1_OVER_16   0x05
 
#define STEPPER12_MODE_QUARTER_STEP   0x06
 
#define STEPPER12_MODE_MASK   0x07
 
#define STEPPER12_TORQUE_100_PCT   0x00
 Stepper 12 torque setting.
 
#define STEPPER12_TORQUE_75_PCT   0x01
 
#define STEPPER12_TORQUE_50_PCT   0x02
 
#define STEPPER12_TORQUE_25_PCT   0x03
 
#define STEPPER12_TORQUE_MASK   0x03
 
#define STEPPER12_SPEED_VERY_SLOW   0
 Stepper 12 device speed settings.
 
#define STEPPER12_SPEED_SLOW   1
 
#define STEPPER12_SPEED_MEDIUM   2
 
#define STEPPER12_SPEED_FAST   3
 
#define STEPPER12_SPEED_VERY_FAST   4
 
#define STEPPER12_DEVICE_ADDRESS_A2A1A0_000   0x20
 Stepper 12 device address setting.
 
#define STEPPER12_DEVICE_ADDRESS_A2A1A0_001   0x21
 
#define STEPPER12_DEVICE_ADDRESS_A2A1A0_010   0x22
 
#define STEPPER12_DEVICE_ADDRESS_A2A1A0_011   0x23
 
#define STEPPER12_DEVICE_ADDRESS_A2A1A0_100   0x24
 
#define STEPPER12_DEVICE_ADDRESS_A2A1A0_101   0x25
 
#define STEPPER12_DEVICE_ADDRESS_A2A1A0_110   0x26
 
#define STEPPER12_DEVICE_ADDRESS_A2A1A0_111   0x27
 

Detailed Description

Settings for registers of Stepper 12 Click driver.

Macro Definition Documentation

◆ STEPPER12_DEVICE_ADDRESS_A2A1A0_000

#define STEPPER12_DEVICE_ADDRESS_A2A1A0_000   0x20

Stepper 12 device address setting.

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

◆ STEPPER12_DEVICE_ADDRESS_A2A1A0_001

#define STEPPER12_DEVICE_ADDRESS_A2A1A0_001   0x21

◆ STEPPER12_DEVICE_ADDRESS_A2A1A0_010

#define STEPPER12_DEVICE_ADDRESS_A2A1A0_010   0x22

◆ STEPPER12_DEVICE_ADDRESS_A2A1A0_011

#define STEPPER12_DEVICE_ADDRESS_A2A1A0_011   0x23

◆ STEPPER12_DEVICE_ADDRESS_A2A1A0_100

#define STEPPER12_DEVICE_ADDRESS_A2A1A0_100   0x24

◆ STEPPER12_DEVICE_ADDRESS_A2A1A0_101

#define STEPPER12_DEVICE_ADDRESS_A2A1A0_101   0x25

◆ STEPPER12_DEVICE_ADDRESS_A2A1A0_110

#define STEPPER12_DEVICE_ADDRESS_A2A1A0_110   0x26

◆ STEPPER12_DEVICE_ADDRESS_A2A1A0_111

#define STEPPER12_DEVICE_ADDRESS_A2A1A0_111   0x27

◆ STEPPER12_DIR_CCW

#define STEPPER12_DIR_CCW   0

◆ STEPPER12_DIR_CW

#define STEPPER12_DIR_CW   1

Stepper 12 direction setting.

Specified setting for direction of Stepper 12 Click driver.

◆ STEPPER12_MODE_1_OVER_16

#define STEPPER12_MODE_1_OVER_16   0x05

◆ STEPPER12_MODE_1_OVER_32

#define STEPPER12_MODE_1_OVER_32   0x03

◆ STEPPER12_MODE_1_OVER_8

#define STEPPER12_MODE_1_OVER_8   0x01

◆ STEPPER12_MODE_FULL_STEP

#define STEPPER12_MODE_FULL_STEP   0x00

Stepper 12 step resolution setting.

Specified setting for step resolution of Stepper 12 Click driver.

◆ STEPPER12_MODE_HALF_STEP_TYPE_A

#define STEPPER12_MODE_HALF_STEP_TYPE_A   0x04

◆ STEPPER12_MODE_HALF_STEP_TYPE_B

#define STEPPER12_MODE_HALF_STEP_TYPE_B   0x02

◆ STEPPER12_MODE_MASK

#define STEPPER12_MODE_MASK   0x07

◆ STEPPER12_MODE_QUARTER_STEP

#define STEPPER12_MODE_QUARTER_STEP   0x06

◆ STEPPER12_P0_DECAY_PIN

#define STEPPER12_P0_DECAY_PIN   0x08

◆ STEPPER12_P0_DEFAULT_CONFIG

#define STEPPER12_P0_DEFAULT_CONFIG   0x10

Stepper 12 PCA9555A pin direction config.

Specified PCA9555A pin direction config of Stepper 12 Click driver.

◆ STEPPER12_P0_DMODE0_PIN

#define STEPPER12_P0_DMODE0_PIN   0x01

Stepper 12 PCA9555A pin mask.

Specified PCA9555A pin mask of Stepper 12 Click driver.

◆ STEPPER12_P0_DMODE1_PIN

#define STEPPER12_P0_DMODE1_PIN   0x02

◆ STEPPER12_P0_DMODE2_PIN

#define STEPPER12_P0_DMODE2_PIN   0x04

◆ STEPPER12_P0_SLEEP_X_PIN

#define STEPPER12_P0_SLEEP_X_PIN   0x80

◆ STEPPER12_P0_TRQ0_PIN

#define STEPPER12_P0_TRQ0_PIN   0x20

◆ STEPPER12_P0_TRQ1_PIN

#define STEPPER12_P0_TRQ1_PIN   0x40

◆ STEPPER12_P1_DEFAULT_CONFIG

#define STEPPER12_P1_DEFAULT_CONFIG   0xFF

◆ STEPPER12_P1_LO_PIN

#define STEPPER12_P1_LO_PIN   0x01

◆ STEPPER12_P1_MO_PIN

#define STEPPER12_P1_MO_PIN   0x04

◆ STEPPER12_PIN_HIGH_LEVEL

#define STEPPER12_PIN_HIGH_LEVEL   1

◆ STEPPER12_PIN_LOW_LEVEL

#define STEPPER12_PIN_LOW_LEVEL   0

Stepper 12 pin logic level setting.

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

◆ STEPPER12_SPEED_FAST

#define STEPPER12_SPEED_FAST   3

◆ STEPPER12_SPEED_MEDIUM

#define STEPPER12_SPEED_MEDIUM   2

◆ STEPPER12_SPEED_SLOW

#define STEPPER12_SPEED_SLOW   1

◆ STEPPER12_SPEED_VERY_FAST

#define STEPPER12_SPEED_VERY_FAST   4

◆ STEPPER12_SPEED_VERY_SLOW

#define STEPPER12_SPEED_VERY_SLOW   0

Stepper 12 device speed settings.

Specified setting for rotation speed.

◆ STEPPER12_TORQUE_100_PCT

#define STEPPER12_TORQUE_100_PCT   0x00

Stepper 12 torque setting.

Specified setting for torque of Stepper 12 Click driver.

◆ STEPPER12_TORQUE_25_PCT

#define STEPPER12_TORQUE_25_PCT   0x03

◆ STEPPER12_TORQUE_50_PCT

#define STEPPER12_TORQUE_50_PCT   0x02

◆ STEPPER12_TORQUE_75_PCT

#define STEPPER12_TORQUE_75_PCT   0x01

◆ STEPPER12_TORQUE_MASK

#define STEPPER12_TORQUE_MASK   0x03