Settings for registers of Stepper 6 Click driver.
More...
Settings for registers of Stepper 6 Click driver.
◆ STEPPER6_DAC_DEFAULT_CONFIG
#define STEPPER6_DAC_DEFAULT_CONFIG 0x7FFFu |
Stepper 6 DAC default setting.
Specified DAC default setting of Stepper 6 Click driver.
◆ STEPPER6_DEVICE_ADDRESS_A1A0_00
#define STEPPER6_DEVICE_ADDRESS_A1A0_00 0x70 |
Stepper 6 device address setting.
Specified setting for device slave address selection of Stepper 6 Click driver.
◆ STEPPER6_DEVICE_ADDRESS_A1A0_01
#define STEPPER6_DEVICE_ADDRESS_A1A0_01 0x71 |
◆ STEPPER6_DEVICE_ADDRESS_A1A0_10
#define STEPPER6_DEVICE_ADDRESS_A1A0_10 0x72 |
◆ STEPPER6_DEVICE_ADDRESS_A1A0_11
#define STEPPER6_DEVICE_ADDRESS_A1A0_11 0x73 |
◆ STEPPER6_DIR_CCW
#define STEPPER6_DIR_CCW 1 |
◆ STEPPER6_DIR_CW
#define STEPPER6_DIR_CW 0 |
Stepper 6 direction setting.
Specified setting for direction of Stepper 6 Click driver.
◆ STEPPER6_MODE_1_OVER_16
#define STEPPER6_MODE_1_OVER_16 1 |
◆ STEPPER6_MODE_1_OVER_8
#define STEPPER6_MODE_1_OVER_8 4 |
◆ STEPPER6_MODE_FULL_STEP
#define STEPPER6_MODE_FULL_STEP 0 |
Stepper 6 step resolution setting.
Specified setting for step resolution of Stepper 6 Click driver.
◆ STEPPER6_MODE_HALF_NON_CIRC_STEP
#define STEPPER6_MODE_HALF_NON_CIRC_STEP 5 |
◆ STEPPER6_MODE_HALF_STEP
#define STEPPER6_MODE_HALF_STEP 2 |
◆ STEPPER6_MODE_QUARTER_STEP
#define STEPPER6_MODE_QUARTER_STEP 3 |
◆ STEPPER6_PCA9538A_DEFAULT_CONFIG
#define STEPPER6_PCA9538A_DEFAULT_CONFIG 0xF0 |
Stepper 6 PCA9538A pin direction config.
Specified PCA9538A pin direction config of Stepper 6 Click driver.
◆ STEPPER6_PIN_FAULT
#define STEPPER6_PIN_FAULT 0x10 |
◆ STEPPER6_PIN_M0
#define STEPPER6_PIN_M0 0x04 |
◆ STEPPER6_PIN_M1
#define STEPPER6_PIN_M1 0x02 |
◆ STEPPER6_PIN_SLEEP
#define STEPPER6_PIN_SLEEP 0x08 |
◆ STEPPER6_PIN_STATE_HIGH
#define STEPPER6_PIN_STATE_HIGH 1 |
◆ STEPPER6_PIN_STATE_LOW
#define STEPPER6_PIN_STATE_LOW 0 |
Stepper 6 pin logic state setting.
Specified setting for pin logic state of Stepper 6 Click driver.
◆ STEPPER6_PIN_STATE_OPEN
#define STEPPER6_PIN_STATE_OPEN 2 |
◆ STEPPER6_PIN_TRQ
#define STEPPER6_PIN_TRQ 0x01 |
Stepper 6 PCA9538A pin mask.
Specified PCA9538A pin mask of Stepper 6 Click driver.
◆ STEPPER6_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 stepper6_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ STEPPER6_SET_DATA_SAMPLE_MIDDLE
◆ STEPPER6_SPEED_FAST
#define STEPPER6_SPEED_FAST 3 |
◆ STEPPER6_SPEED_MEDIUM
#define STEPPER6_SPEED_MEDIUM 2 |
◆ STEPPER6_SPEED_SLOW
#define STEPPER6_SPEED_SLOW 1 |
◆ STEPPER6_SPEED_VERY_FAST
#define STEPPER6_SPEED_VERY_FAST 4 |
◆ STEPPER6_SPEED_VERY_SLOW
#define STEPPER6_SPEED_VERY_SLOW 0 |
Stepper 6 device speed settings.
Specified setting for rotation speed.