Settings for registers of Brushless 20 Click driver.
More...
Settings for registers of Brushless 20 Click driver.
◆ BRUSHLESS20_ALL_PINS
#define BRUSHLESS20_ALL_PINS 0xFF |
◆ BRUSHLESS20_COM_SEQ_DURATION_FOR_SPEED_MAX
#define BRUSHLESS20_COM_SEQ_DURATION_FOR_SPEED_MAX 24.729 |
Brushless 20 commutation sequance duration settings.
Specified commutation sequance duration settings of Brushless 20 Click driver.
- Note
- In order to improve driving time accuracy, measure and adjust the following macros for your setup. Call brushless20_perform_com_sequence for MAX and MAX-1 speed and measure the duration of each execution. BRUSHLESS20_COM_SEQ_DURATION_FOR_SPEED_MAX = duration for a single commutation sequance in milliseconds for MAX speed. BRUSHLESS20_COM_SEQ_DURATION_SPEED_STEP = duration for a single commutation sequance in milliseconds for MAX-1 speed - BRUSHLESS20_COM_SEQ_DURATION_FOR_SPEED_MAX.
◆ BRUSHLESS20_COM_SEQ_DURATION_SPEED_STEP
◆ BRUSHLESS20_DEFAULT_CONFIG
#define BRUSHLESS20_DEFAULT_CONFIG 0x80 |
Brushless 20 PCA9538A pin direction config.
Specified PCA9538A pin direction config of Brushless 20 Click driver.
◆ BRUSHLESS20_DEVICE_ADDRESS_A1A0_00
#define BRUSHLESS20_DEVICE_ADDRESS_A1A0_00 0x70 |
Brushless 20 device address setting.
Specified setting for device slave address selection of Brushless 20 Click driver.
◆ BRUSHLESS20_DEVICE_ADDRESS_A1A0_01
#define BRUSHLESS20_DEVICE_ADDRESS_A1A0_01 0x71 |
◆ BRUSHLESS20_DEVICE_ADDRESS_A1A0_10
#define BRUSHLESS20_DEVICE_ADDRESS_A1A0_10 0x72 |
◆ BRUSHLESS20_DEVICE_ADDRESS_A1A0_11
#define BRUSHLESS20_DEVICE_ADDRESS_A1A0_11 0x73 |
◆ BRUSHLESS20_DIR_CCW
#define BRUSHLESS20_DIR_CCW 1 |
◆ BRUSHLESS20_DIR_CW
#define BRUSHLESS20_DIR_CW 0 |
Brushless 20 direction setting.
Specified setting for direction of Brushless 20 Click driver.
◆ BRUSHLESS20_EN1_PIN
#define BRUSHLESS20_EN1_PIN 0x02 |
◆ BRUSHLESS20_EN2_PIN
#define BRUSHLESS20_EN2_PIN 0x08 |
◆ BRUSHLESS20_EN3_PIN
#define BRUSHLESS20_EN3_PIN 0x20 |
◆ BRUSHLESS20_FLT_PIN
#define BRUSHLESS20_FLT_PIN 0x80 |
◆ BRUSHLESS20_IN1_PIN
#define BRUSHLESS20_IN1_PIN 0x01 |
◆ BRUSHLESS20_IN2_PIN
#define BRUSHLESS20_IN2_PIN 0x04 |
◆ BRUSHLESS20_IN3_PIN
#define BRUSHLESS20_IN3_PIN 0x10 |
◆ BRUSHLESS20_NONE_PIN
#define BRUSHLESS20_NONE_PIN 0x00 |
Brushless 20 PCA9538A pin mask.
Specified PCA9538A pin mask of Brushless 20 Click driver.
◆ BRUSHLESS20_NRST_PIN
#define BRUSHLESS20_NRST_PIN 0x40 |
◆ BRUSHLESS20_NUM_PIN_TOGGLE
#define BRUSHLESS20_NUM_PIN_TOGGLE 8 |
◆ BRUSHLESS20_PIN_HIGH_LEVEL
#define BRUSHLESS20_PIN_HIGH_LEVEL 1 |
◆ BRUSHLESS20_PIN_LOW_LEVEL
#define BRUSHLESS20_PIN_LOW_LEVEL 0 |
Brushless 20 pin logic level setting.
Specified setting for pin logic level of Brushless 20 Click driver.
◆ BRUSHLESS20_ROUND_TO_NEAREAST_INT
#define BRUSHLESS20_ROUND_TO_NEAREAST_INT 0.5 |
◆ BRUSHLESS20_SPEED_MAX
#define BRUSHLESS20_SPEED_MAX 100 |
◆ BRUSHLESS20_SPEED_MIN
#define BRUSHLESS20_SPEED_MIN 0 |
Brushless 20 driving speed and time settings.
Specified driving speed and time settings of Brushless 20 Click driver.
◆ BRUSHLESS20_TR_COM_STATE_1
#define BRUSHLESS20_TR_COM_STATE_1 1 |
◆ BRUSHLESS20_TR_COM_STATE_2
#define BRUSHLESS20_TR_COM_STATE_2 2 |
◆ BRUSHLESS20_TR_COM_STATE_3
#define BRUSHLESS20_TR_COM_STATE_3 3 |
◆ BRUSHLESS20_TR_COM_STATE_4
#define BRUSHLESS20_TR_COM_STATE_4 4 |
◆ BRUSHLESS20_TR_COM_STATE_5
#define BRUSHLESS20_TR_COM_STATE_5 5 |
◆ BRUSHLESS20_TR_COM_STATE_6
#define BRUSHLESS20_TR_COM_STATE_6 6 |
◆ BRUSHLESS20_TR_COM_STATE_BRAKE
#define BRUSHLESS20_TR_COM_STATE_BRAKE 7 |
◆ BRUSHLESS20_TR_COM_STATE_COAST
#define BRUSHLESS20_TR_COM_STATE_COAST 0 |
Brushless 20 trapezoidal (120 percents) commutation state settings.
Specified trapezoidal (120 percents) commutation state settings of Brushless 20 Click driver.