stepper19 2.1.0.0
Stepper 19 Registers Settings

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

Macros

#define STEPPER19_PIN_STATE_LOW   0
 Stepper 19 pin logic state setting.
 
#define STEPPER19_PIN_STATE_HIGH   1
 
#define STEPPER19_DIR_CLOCKWISE   0
 Stepper 19 step/direction driver mode.
 
#define STEPPER19_DIR_COUNTERCLOCKWISE   1
 
#define STEPPER19_PIN_NONE   0x00
 Stepper 19 GPIO expander pin setting.
 
#define STEPPER19_PIN_M0   0x01
 
#define STEPPER19_PIN_M1   0x02
 
#define STEPPER19_PIN_DEC0   0x04
 
#define STEPPER19_PIN_DEC1   0x08
 
#define STEPPER19_PIN_TOFF   0x10
 
#define STEPPER19_PIN_STP   0x20
 
#define STEPPER19_PIN_DIR   0x40
 
#define STEPPER19_CTRL_STEP_DIR_GPIO   0
 Stepper 19 GPIO expander pin setting.
 
#define STEPPER19_CTRL_STEP_DIR_PORT_EXP   1
 
#define STEPPER19_PORT_EXP_DEFAULT_CFG   0x03
 Stepper 19 port expander pin direction config.
 
#define STEPPER19_MSTEP_MODE_FULL   1
 Stepper 19 microstepping indexer settings.
 
#define STEPPER19_MSTEP_MODE_HALF   2
 
#define STEPPER19_MSTEP_MODE_1_4   4
 
#define STEPPER19_MSTEP_MODE_1_8   8
 
#define STEPPER19_MSTEP_MODE_1_16   16
 
#define STEPPER19_MSTEP_MODE_1_32   32
 
#define STEPPER19_MSTEP_MODE_1_64   64
 
#define STEPPER19_MSTEP_MODE_1_128   128
 
#define STEPPER19_MSTEP_MODE_1_256   256
 
#define STEPPER19_DECAY_MODE_DYN   0
 Stepper 19 decay mode settings.
 
#define STEPPER19_DECAY_MODE_XRP   1
 
#define STEPPER19_DECAY_MODE_F_30   2
 
#define STEPPER19_DECAY_MODE_SLW   3
 
#define STEPPER19_TOFF_7US   0
 Stepper 19 TOFF settings.
 
#define STEPPER19_TOFF_16US   1
 
#define STEPPER19_STEP_DELAY_DEF_100US   2ul
 Stepper 19 step delay default value.
 
#define STEPPER19_FULL_STEP   1.0f
 Stepper 19 step speed and angle data values.
 
#define STEPPER19_STEP_SPEED_MIN   1
 
#define STEPPER19_STEP_SPEED_MAX   100
 
#define STEPPER19_ANGLE_360_DEGREES   360.0f
 
#define STEPPER19_FULL_CIRCLE   360.0
 Stepper 19 calculation data values.
 
#define STEPPER19_RESOLUTION   4096.0
 
#define STEPPER19_VREF   3330.0
 
#define STEPPER19_DEVICE_ADDRESS_0   0x70
 Stepper 19 device address setting.
 
#define STEPPER19_DEVICE_ADDRESS_1   0x72
 
#define STEPPER19_DEVICE_ADDRESS_2   0x74
 
#define STEPPER19_DEVICE_ADDRESS_3   0x76
 

Detailed Description

Settings for registers of Stepper 19 Click driver.

Macro Definition Documentation

◆ STEPPER19_ANGLE_360_DEGREES

#define STEPPER19_ANGLE_360_DEGREES   360.0f

◆ STEPPER19_CTRL_STEP_DIR_GPIO

#define STEPPER19_CTRL_STEP_DIR_GPIO   0

Stepper 19 GPIO expander pin setting.

Specified setting for pin bit mask of Stepper 19 Click driver.

◆ STEPPER19_CTRL_STEP_DIR_PORT_EXP

#define STEPPER19_CTRL_STEP_DIR_PORT_EXP   1

◆ STEPPER19_DECAY_MODE_DYN

#define STEPPER19_DECAY_MODE_DYN   0

Stepper 19 decay mode settings.

Decay mode settings of Stepper 19 Click driver.

◆ STEPPER19_DECAY_MODE_F_30

#define STEPPER19_DECAY_MODE_F_30   2

◆ STEPPER19_DECAY_MODE_SLW

#define STEPPER19_DECAY_MODE_SLW   3

◆ STEPPER19_DECAY_MODE_XRP

#define STEPPER19_DECAY_MODE_XRP   1

◆ STEPPER19_DEVICE_ADDRESS_0

#define STEPPER19_DEVICE_ADDRESS_0   0x70

Stepper 19 device address setting.

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

◆ STEPPER19_DEVICE_ADDRESS_1

#define STEPPER19_DEVICE_ADDRESS_1   0x72

◆ STEPPER19_DEVICE_ADDRESS_2

#define STEPPER19_DEVICE_ADDRESS_2   0x74

◆ STEPPER19_DEVICE_ADDRESS_3

#define STEPPER19_DEVICE_ADDRESS_3   0x76

◆ STEPPER19_DIR_CLOCKWISE

#define STEPPER19_DIR_CLOCKWISE   0

Stepper 19 step/direction driver mode.

Specified step/direction driver mode of Stepper 19 Click driver.

◆ STEPPER19_DIR_COUNTERCLOCKWISE

#define STEPPER19_DIR_COUNTERCLOCKWISE   1

◆ STEPPER19_FULL_CIRCLE

#define STEPPER19_FULL_CIRCLE   360.0

Stepper 19 calculation data values.

Specified calculation data values of Stepper 19 Click driver.

◆ STEPPER19_FULL_STEP

#define STEPPER19_FULL_STEP   1.0f

Stepper 19 step speed and angle data values.

Specified step speed and angle data values of Stepper 19 Click driver.

◆ STEPPER19_MSTEP_MODE_1_128

#define STEPPER19_MSTEP_MODE_1_128   128

◆ STEPPER19_MSTEP_MODE_1_16

#define STEPPER19_MSTEP_MODE_1_16   16

◆ STEPPER19_MSTEP_MODE_1_256

#define STEPPER19_MSTEP_MODE_1_256   256

◆ STEPPER19_MSTEP_MODE_1_32

#define STEPPER19_MSTEP_MODE_1_32   32

◆ STEPPER19_MSTEP_MODE_1_4

#define STEPPER19_MSTEP_MODE_1_4   4

◆ STEPPER19_MSTEP_MODE_1_64

#define STEPPER19_MSTEP_MODE_1_64   64

◆ STEPPER19_MSTEP_MODE_1_8

#define STEPPER19_MSTEP_MODE_1_8   8

◆ STEPPER19_MSTEP_MODE_FULL

#define STEPPER19_MSTEP_MODE_FULL   1

Stepper 19 microstepping indexer settings.

Microstepping indexer settings of Stepper 19 Click driver.

◆ STEPPER19_MSTEP_MODE_HALF

#define STEPPER19_MSTEP_MODE_HALF   2

◆ STEPPER19_PIN_DEC0

#define STEPPER19_PIN_DEC0   0x04

◆ STEPPER19_PIN_DEC1

#define STEPPER19_PIN_DEC1   0x08

◆ STEPPER19_PIN_DIR

#define STEPPER19_PIN_DIR   0x40

◆ STEPPER19_PIN_M0

#define STEPPER19_PIN_M0   0x01

◆ STEPPER19_PIN_M1

#define STEPPER19_PIN_M1   0x02

◆ STEPPER19_PIN_NONE

#define STEPPER19_PIN_NONE   0x00

Stepper 19 GPIO expander pin setting.

Specified setting for pin bit mask of Stepper 19 Click driver.

◆ STEPPER19_PIN_STATE_HIGH

#define STEPPER19_PIN_STATE_HIGH   1

◆ STEPPER19_PIN_STATE_LOW

#define STEPPER19_PIN_STATE_LOW   0

Stepper 19 pin logic state setting.

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

◆ STEPPER19_PIN_STP

#define STEPPER19_PIN_STP   0x20

◆ STEPPER19_PIN_TOFF

#define STEPPER19_PIN_TOFF   0x10

◆ STEPPER19_PORT_EXP_DEFAULT_CFG

#define STEPPER19_PORT_EXP_DEFAULT_CFG   0x03

Stepper 19 port expander pin direction config.

Specified port expander pin direction config of Stepper 19 Click driver.

◆ STEPPER19_RESOLUTION

#define STEPPER19_RESOLUTION   4096.0

◆ STEPPER19_STEP_DELAY_DEF_100US

#define STEPPER19_STEP_DELAY_DEF_100US   2ul

Stepper 19 step delay default value.

Specified step delay default value of Stepper 19 Click driver.

◆ STEPPER19_STEP_SPEED_MAX

#define STEPPER19_STEP_SPEED_MAX   100

◆ STEPPER19_STEP_SPEED_MIN

#define STEPPER19_STEP_SPEED_MIN   1

◆ STEPPER19_TOFF_16US

#define STEPPER19_TOFF_16US   1

◆ STEPPER19_TOFF_7US

#define STEPPER19_TOFF_7US   0

Stepper 19 TOFF settings.

TOFF settings of Stepper 19 Click driver.

◆ STEPPER19_VREF

#define STEPPER19_VREF   3330.0