Settings for registers of Silent Step Click driver.
More...
Settings for registers of Silent Step Click driver.
◆ SILENTSTEP_DIR_CCW
#define SILENTSTEP_DIR_CCW 1 |
◆ SILENTSTEP_DIR_CW
#define SILENTSTEP_DIR_CW 0 |
Silent Step direction setting.
Specified setting for direction of Silent Step Click driver.
◆ SILENTSTEP_IOIN_VERSION_DEFAULT
#define SILENTSTEP_IOIN_VERSION_DEFAULT 0x11000000ul |
◆ SILENTSTEP_IOIN_VERSION_MASK
#define SILENTSTEP_IOIN_VERSION_MASK 0xFF000000ul |
Silent Step version settings.
Specified version settings of Silent Step Click driver.
◆ SILENTSTEP_IRUN_DEFAULT
#define SILENTSTEP_IRUN_DEFAULT 2 |
◆ SILENTSTEP_IRUN_MASK
#define SILENTSTEP_IRUN_MASK 0x00000F00ul |
Silent Step run current settings.
Specified setting for motor run current.
◆ SILENTSTEP_IRUN_MAX
#define SILENTSTEP_IRUN_MAX 31 |
◆ SILENTSTEP_IRUN_MIN
#define SILENTSTEP_IRUN_MIN 0 |
◆ SILENTSTEP_IRUN_SHIFT
#define SILENTSTEP_IRUN_SHIFT 8 |
◆ SILENTSTEP_MRES_128
#define SILENTSTEP_MRES_128 1 |
◆ SILENTSTEP_MRES_16
#define SILENTSTEP_MRES_16 4 |
◆ SILENTSTEP_MRES_2
#define SILENTSTEP_MRES_2 7 |
◆ SILENTSTEP_MRES_256
#define SILENTSTEP_MRES_256 0 |
◆ SILENTSTEP_MRES_32
#define SILENTSTEP_MRES_32 3 |
◆ SILENTSTEP_MRES_4
#define SILENTSTEP_MRES_4 6 |
◆ SILENTSTEP_MRES_64
#define SILENTSTEP_MRES_64 2 |
◆ SILENTSTEP_MRES_8
#define SILENTSTEP_MRES_8 5 |
◆ SILENTSTEP_MRES_FULLSTEP
#define SILENTSTEP_MRES_FULLSTEP 8 |
◆ SILENTSTEP_MRES_MASK
#define SILENTSTEP_MRES_MASK 0x0F000000ul |
Silent Step step resolution settings.
Specified setting for micro step resolution.
◆ SILENTSTEP_MRES_SHIFT
#define SILENTSTEP_MRES_SHIFT 24 |
◆ SILENTSTEP_PIN_STATE_HIGH
#define SILENTSTEP_PIN_STATE_HIGH 1 |
◆ SILENTSTEP_PIN_STATE_LOW
#define SILENTSTEP_PIN_STATE_LOW 0 |
Silent Step pin logic state setting.
Specified setting for pin logic state of Silent Step Click driver.
◆ SILENTSTEP_SET_DATA_SAMPLE_EDGE
Data sample selection.
This macro sets data samples for SPI modules.
- Note
- Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with silentstep_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ SILENTSTEP_SET_DATA_SAMPLE_MIDDLE
◆ SILENTSTEP_SPEED_FAST
#define SILENTSTEP_SPEED_FAST 3 |
◆ SILENTSTEP_SPEED_MEDIUM
#define SILENTSTEP_SPEED_MEDIUM 2 |
◆ SILENTSTEP_SPEED_SLOW
#define SILENTSTEP_SPEED_SLOW 1 |
◆ SILENTSTEP_SPEED_VERY_FAST
#define SILENTSTEP_SPEED_VERY_FAST 4 |
◆ SILENTSTEP_SPEED_VERY_SLOW
#define SILENTSTEP_SPEED_VERY_SLOW 0 |
Silent Step device speed settings.
Specified setting for rotation speed.
◆ SILENTSTEP_TOFF_DEFAULT
#define SILENTSTEP_TOFF_DEFAULT 4 |
◆ SILENTSTEP_TOFF_DRIVER_DISABLE
#define SILENTSTEP_TOFF_DRIVER_DISABLE 0 |
◆ SILENTSTEP_TOFF_MASK
#define SILENTSTEP_TOFF_MASK 0x0000000Ful |
Silent Step off time settings.
Specified setting for off time that controls duration of slow decay phase.
◆ SILENTSTEP_TOFF_MAX
#define SILENTSTEP_TOFF_MAX 15 |
◆ SILENTSTEP_TOFF_MIN
#define SILENTSTEP_TOFF_MIN 1 |
◆ SILENTSTEP_TOFF_SHIFT
#define SILENTSTEP_TOFF_SHIFT 0 |