Settings for registers of Stepper 7 Click driver.
More...
Settings for registers of Stepper 7 Click driver.
◆ STEPPER7_DIR_CCW
#define STEPPER7_DIR_CCW 1 |
◆ STEPPER7_DIR_CW
#define STEPPER7_DIR_CW 0 |
Stepper 7 direction setting.
Specified setting for direction of Stepper 7 Click driver.
◆ STEPPER7_GPIO_CLEAR
#define STEPPER7_GPIO_CLEAR 0x00 |
◆ STEPPER7_IOCON_DEFAULT
#define STEPPER7_IOCON_DEFAULT 0x38 |
◆ STEPPER7_IODIR_DEFAULT
#define STEPPER7_IODIR_DEFAULT 0x03 |
Stepper 7 MCP23S08T settings.
Specified MCP23S08T settings of Stepper 7 Click driver.
◆ STEPPER7_MODE_1_OVER_8_STEP
#define STEPPER7_MODE_1_OVER_8_STEP 2 |
◆ STEPPER7_MODE_FULL_STEP
#define STEPPER7_MODE_FULL_STEP 0 |
Stepper 7 step resolution setting.
Specified setting for step resolution of Stepper 7 Click driver.
◆ STEPPER7_MODE_HALF_STEP
#define STEPPER7_MODE_HALF_STEP 1 |
◆ STEPPER7_PIN_HIGH_LEVEL
#define STEPPER7_PIN_HIGH_LEVEL 1 |
◆ STEPPER7_PIN_I01
#define STEPPER7_PIN_I01 0x04 |
◆ STEPPER7_PIN_I02
#define STEPPER7_PIN_I02 0x10 |
◆ STEPPER7_PIN_I11
#define STEPPER7_PIN_I11 0x08 |
◆ STEPPER7_PIN_I12
#define STEPPER7_PIN_I12 0x20 |
◆ STEPPER7_PIN_LOW_LEVEL
#define STEPPER7_PIN_LOW_LEVEL 0 |
Stepper 7 pin logic level setting.
Specified setting for pin logic level of Stepper 7 Click driver.
◆ STEPPER7_PIN_PHASE1
#define STEPPER7_PIN_PHASE1 0x40 |
◆ STEPPER7_PIN_PHASE2
#define STEPPER7_PIN_PHASE2 0x80 |
Stepper 7 MCP23S08T pin mask setting.
Specified setting for pin mask of Stepper 7 Click driver.
◆ STEPPER7_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 stepper7_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ STEPPER7_SET_DATA_SAMPLE_MIDDLE
◆ STEPPER7_SPEED_FAST
#define STEPPER7_SPEED_FAST 3 |
◆ STEPPER7_SPEED_MEDIUM
#define STEPPER7_SPEED_MEDIUM 2 |
◆ STEPPER7_SPEED_SLOW
#define STEPPER7_SPEED_SLOW 1 |
◆ STEPPER7_SPEED_VERY_FAST
#define STEPPER7_SPEED_VERY_FAST 4 |
◆ STEPPER7_SPEED_VERY_SLOW
#define STEPPER7_SPEED_VERY_SLOW 0 |
Stepper 7 device speed settings.
Specified setting for rotation speed.
◆ STEPPER7_SPI_READ_OPCODE
#define STEPPER7_SPI_READ_OPCODE 0x41 |
Stepper 7 SPI setting.
Specified setting for SPI of Stepper 7 Click driver.
◆ STEPPER7_SPI_WRITE_OPCODE
#define STEPPER7_SPI_WRITE_OPCODE 0x40 |