brushless26 2.1.0.0
Brushless 26 Registers Settings

Settings for registers of Brushless 26 Click driver. More...

Macros

#define BRUSHLESS26_TR_COM_STATE_COAST   0x00
 Brushless 26 description setting.
 
#define BRUSHLESS26_TR_COM_STATE_1   0x01
 
#define BRUSHLESS26_TR_COM_STATE_2   0x02
 
#define BRUSHLESS26_TR_COM_STATE_3   0x03
 
#define BRUSHLESS26_TR_COM_STATE_4   0x04
 
#define BRUSHLESS26_TR_COM_STATE_5   0x05
 
#define BRUSHLESS26_TR_COM_STATE_6   0x06
 
#define BRUSHLESS26_TR_COM_STATE_BRAKE   0x07
 
#define BRUSHLESS26_NONE_PIN   0x00
 Brushless 26 pin mask.
 
#define BRUSHLESS26_INLC_PIN   0x01
 
#define BRUSHLESS26_INHC_PIN   0x02
 
#define BRUSHLESS26_INLB_PIN   0x04
 
#define BRUSHLESS26_INHB_PIN   0x08
 
#define BRUSHLESS26_INLA_PIN   0x10
 
#define BRUSHLESS26_INHA_PIN   0x20
 
#define BRUSHLESS26_SLP_PIN   0x40
 
#define BRUSHLESS26_ALL_OUTPUT_PIN   0x3F
 
#define BRUSHLESS26_ALL_PIN   0x7F
 
#define BRUSHLESS26_MODE_6X_PWM   0x01
 Brushless 26 PWM mode setting.
 
#define BRUSHLESS26_MODE_3X_PWM   0x00
 
#define BRUSHLESS26_DIR_CW   0x01
 Brushless 26 direction setting.
 
#define BRUSHLESS26_DIR_CCW   0x00
 
#define BRUSHLESS26_PIN_STATE_LOW   0x00
 Brushless 26 pin logic level setting.
 
#define BRUSHLESS26_PIN_STATE_HIGH   0x01
 
#define BRUSHLESS26_SPEED_MIN   0
 Brushless 26 driving speed and time settings.
 
#define BRUSHLESS26_SPEED_MAX   100
 
#define BRUSHLESS26_NUM_PIN_TOGGLE   8
 
#define BRUSHLESS26_ROUND_TO_NEAREAST_INT   0.5
 
#define BRUSHLESS26_COM_SEQ_DURATION_FOR_SPEED_MAX   20.293
 Brushless 26 commutation sequance duration settings.
 
#define BRUSHLESS26_COM_SEQ_DURATION_SPEED_STEP   ( 20.351 - BRUSHLESS26_COM_SEQ_DURATION_FOR_SPEED_MAX )
 
#define BRUSHLESS26_DEVICE_ADDRESS_A1A0_00   0x70
 Brushless 26 device address setting.
 
#define BRUSHLESS26_DEVICE_ADDRESS_A1A0_01   0x71
 
#define BRUSHLESS26_DEVICE_ADDRESS_A1A0_10   0x72
 
#define BRUSHLESS26_DEVICE_ADDRESS_A1A0_11   0x73
 

Detailed Description

Settings for registers of Brushless 26 Click driver.

Macro Definition Documentation

◆ BRUSHLESS26_ALL_OUTPUT_PIN

#define BRUSHLESS26_ALL_OUTPUT_PIN   0x3F

◆ BRUSHLESS26_ALL_PIN

#define BRUSHLESS26_ALL_PIN   0x7F

◆ BRUSHLESS26_COM_SEQ_DURATION_FOR_SPEED_MAX

#define BRUSHLESS26_COM_SEQ_DURATION_FOR_SPEED_MAX   20.293

Brushless 26 commutation sequance duration settings.

Specified commutation sequance duration settings of Brushless 26 Click driver.

Note
In order to improve driving time accuracy, measure and adjust the following macros for your setup. Call brushless26_perform_com_seq for MAX and MAX-1 speed and measure the duration of each execution. BRUSHLESS26_COM_SEQ_DURATION_FOR_SPEED_MAX = duration for a single commutation sequance in milliseconds for MAX speed. BRUSHLESS26_COM_SEQ_DURATION_SPEED_STEP = duration for a single commutation sequance in milliseconds for MAX-1 speed - BRUSHLESS26_COM_SEQ_DURATION_FOR_SPEED_MAX.

◆ BRUSHLESS26_COM_SEQ_DURATION_SPEED_STEP

#define BRUSHLESS26_COM_SEQ_DURATION_SPEED_STEP   ( 20.351 - BRUSHLESS26_COM_SEQ_DURATION_FOR_SPEED_MAX )

◆ BRUSHLESS26_DEVICE_ADDRESS_A1A0_00

#define BRUSHLESS26_DEVICE_ADDRESS_A1A0_00   0x70

Brushless 26 device address setting.

Specified setting for device slave address selection of Brushless 26 Click driver.

◆ BRUSHLESS26_DEVICE_ADDRESS_A1A0_01

#define BRUSHLESS26_DEVICE_ADDRESS_A1A0_01   0x71

◆ BRUSHLESS26_DEVICE_ADDRESS_A1A0_10

#define BRUSHLESS26_DEVICE_ADDRESS_A1A0_10   0x72

◆ BRUSHLESS26_DEVICE_ADDRESS_A1A0_11

#define BRUSHLESS26_DEVICE_ADDRESS_A1A0_11   0x73

◆ BRUSHLESS26_DIR_CCW

#define BRUSHLESS26_DIR_CCW   0x00

◆ BRUSHLESS26_DIR_CW

#define BRUSHLESS26_DIR_CW   0x01

Brushless 26 direction setting.

Specified setting for direction of Brushless 26 Click driver.

◆ BRUSHLESS26_INHA_PIN

#define BRUSHLESS26_INHA_PIN   0x20

◆ BRUSHLESS26_INHB_PIN

#define BRUSHLESS26_INHB_PIN   0x08

◆ BRUSHLESS26_INHC_PIN

#define BRUSHLESS26_INHC_PIN   0x02

◆ BRUSHLESS26_INLA_PIN

#define BRUSHLESS26_INLA_PIN   0x10

◆ BRUSHLESS26_INLB_PIN

#define BRUSHLESS26_INLB_PIN   0x04

◆ BRUSHLESS26_INLC_PIN

#define BRUSHLESS26_INLC_PIN   0x01

◆ BRUSHLESS26_MODE_3X_PWM

#define BRUSHLESS26_MODE_3X_PWM   0x00

◆ BRUSHLESS26_MODE_6X_PWM

#define BRUSHLESS26_MODE_6X_PWM   0x01

Brushless 26 PWM mode setting.

Specified setting for PWM mode of Brushless 26 Click driver.

◆ BRUSHLESS26_NONE_PIN

#define BRUSHLESS26_NONE_PIN   0x00

Brushless 26 pin mask.

Specified pin mask of Brushless 26 Click driver.

◆ BRUSHLESS26_NUM_PIN_TOGGLE

#define BRUSHLESS26_NUM_PIN_TOGGLE   8

◆ BRUSHLESS26_PIN_STATE_HIGH

#define BRUSHLESS26_PIN_STATE_HIGH   0x01

◆ BRUSHLESS26_PIN_STATE_LOW

#define BRUSHLESS26_PIN_STATE_LOW   0x00

Brushless 26 pin logic level setting.

Specified setting for pin logic level of Brushless 26 Click driver.

◆ BRUSHLESS26_ROUND_TO_NEAREAST_INT

#define BRUSHLESS26_ROUND_TO_NEAREAST_INT   0.5

◆ BRUSHLESS26_SLP_PIN

#define BRUSHLESS26_SLP_PIN   0x40

◆ BRUSHLESS26_SPEED_MAX

#define BRUSHLESS26_SPEED_MAX   100

◆ BRUSHLESS26_SPEED_MIN

#define BRUSHLESS26_SPEED_MIN   0

Brushless 26 driving speed and time settings.

Specified driving speed and time settings of Brushless 26 Click driver.

◆ BRUSHLESS26_TR_COM_STATE_1

#define BRUSHLESS26_TR_COM_STATE_1   0x01

◆ BRUSHLESS26_TR_COM_STATE_2

#define BRUSHLESS26_TR_COM_STATE_2   0x02

◆ BRUSHLESS26_TR_COM_STATE_3

#define BRUSHLESS26_TR_COM_STATE_3   0x03

◆ BRUSHLESS26_TR_COM_STATE_4

#define BRUSHLESS26_TR_COM_STATE_4   0x04

◆ BRUSHLESS26_TR_COM_STATE_5

#define BRUSHLESS26_TR_COM_STATE_5   0x05

◆ BRUSHLESS26_TR_COM_STATE_6

#define BRUSHLESS26_TR_COM_STATE_6   0x06

◆ BRUSHLESS26_TR_COM_STATE_BRAKE

#define BRUSHLESS26_TR_COM_STATE_BRAKE   0x07

◆ BRUSHLESS26_TR_COM_STATE_COAST

#define BRUSHLESS26_TR_COM_STATE_COAST   0x00

Brushless 26 description setting.

Specified setting for description of Brushless 26 Click driver.