brushless13 2.1.0.0
Brushless 13 Registers Settings

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

Macros

#define BRUSHLESS13_TR_COM_STATE_COAST   0x00
 Brushless 13 description setting.
 
#define BRUSHLESS13_TR_COM_STATE_1   0x01
 
#define BRUSHLESS13_TR_COM_STATE_2   0x02
 
#define BRUSHLESS13_TR_COM_STATE_3   0x03
 
#define BRUSHLESS13_TR_COM_STATE_4   0x04
 
#define BRUSHLESS13_TR_COM_STATE_5   0x05
 
#define BRUSHLESS13_TR_COM_STATE_6   0x06
 
#define BRUSHLESS13_TR_COM_STATE_BRAKE   0x07
 
#define BRUSHLESS13_NONE_PIN   0x00
 Brushless 13 pin mask.
 
#define BRUSHLESS13_ENW_PIN   0x01
 
#define BRUSHLESS13_INW_PIN   0x02
 
#define BRUSHLESS13_ENV_PIN   0x04
 
#define BRUSHLESS13_INV_PIN   0x08
 
#define BRUSHLESS13_ENU_PIN   0x10
 
#define BRUSHLESS13_INU_PIN   0x20
 
#define BRUSHLESS13_FLT_PIN   0x40
 
#define BRUSHLESS13_ALL_OUTPUT_PIN   0x3F
 
#define BRUSHLESS13_ALL_PIN   0x7F
 
#define BRUSHLESS13_MODE_ENX_INX   0x01
 Brushless 13 mode setting.
 
#define BRUSHLESS13_MODE_INXL_INXH   0x00
 
#define BRUSHLESS13_DIR_CW   0x01
 Brushless 13 direction setting.
 
#define BRUSHLESS13_DIR_CCW   0x00
 
#define BRUSHLESS13_PIN_STATE_LOW   0x00
 Brushless 13 pin logic level setting.
 
#define BRUSHLESS13_PIN_STATE_HIGH   0x01
 
#define BRUSHLESS13_FLT_PIN_INACTIVE   0x01
 Brushless 13 FLT pin state setting.
 
#define BRUSHLESS13_FLT_PIN_ACTIVE   0x00
 
#define BRUSHLESS13_SPEED_MIN   0
 Brushless 13 driving speed and time settings.
 
#define BRUSHLESS13_SPEED_MAX   100
 
#define BRUSHLESS13_NUM_PIN_TOGGLE   8
 
#define BRUSHLESS13_ROUND_TO_NEAREAST_INT   0.5
 
#define BRUSHLESS13_COM_SEQ_DURATION_FOR_SPEED_MAX   20.293
 Brushless 13 commutation sequance duration settings.
 
#define BRUSHLESS13_COM_SEQ_DURATION_SPEED_STEP   ( 20.351 - BRUSHLESS13_COM_SEQ_DURATION_FOR_SPEED_MAX )
 
#define BRUSHLESS13_DEVICE_ADDRESS_A1A0_00   0x70
 Brushless 13 device address setting.
 
#define BRUSHLESS13_DEVICE_ADDRESS_A1A0_01   0x71
 
#define BRUSHLESS13_DEVICE_ADDRESS_A1A0_10   0x72
 
#define BRUSHLESS13_DEVICE_ADDRESS_A1A0_11   0x73
 

Detailed Description

Settings for registers of Brushless 13 Click driver.

Macro Definition Documentation

◆ BRUSHLESS13_ALL_OUTPUT_PIN

#define BRUSHLESS13_ALL_OUTPUT_PIN   0x3F

◆ BRUSHLESS13_ALL_PIN

#define BRUSHLESS13_ALL_PIN   0x7F

◆ BRUSHLESS13_COM_SEQ_DURATION_FOR_SPEED_MAX

#define BRUSHLESS13_COM_SEQ_DURATION_FOR_SPEED_MAX   20.293

Brushless 13 commutation sequance duration settings.

Specified commutation sequance duration settings of Brushless 13 Click driver.

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

◆ BRUSHLESS13_COM_SEQ_DURATION_SPEED_STEP

#define BRUSHLESS13_COM_SEQ_DURATION_SPEED_STEP   ( 20.351 - BRUSHLESS13_COM_SEQ_DURATION_FOR_SPEED_MAX )

◆ BRUSHLESS13_DEVICE_ADDRESS_A1A0_00

#define BRUSHLESS13_DEVICE_ADDRESS_A1A0_00   0x70

Brushless 13 device address setting.

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

◆ BRUSHLESS13_DEVICE_ADDRESS_A1A0_01

#define BRUSHLESS13_DEVICE_ADDRESS_A1A0_01   0x71

◆ BRUSHLESS13_DEVICE_ADDRESS_A1A0_10

#define BRUSHLESS13_DEVICE_ADDRESS_A1A0_10   0x72

◆ BRUSHLESS13_DEVICE_ADDRESS_A1A0_11

#define BRUSHLESS13_DEVICE_ADDRESS_A1A0_11   0x73

◆ BRUSHLESS13_DIR_CCW

#define BRUSHLESS13_DIR_CCW   0x00

◆ BRUSHLESS13_DIR_CW

#define BRUSHLESS13_DIR_CW   0x01

Brushless 13 direction setting.

Specified setting for direction of Brushless 13 Click driver.

◆ BRUSHLESS13_ENU_PIN

#define BRUSHLESS13_ENU_PIN   0x10

◆ BRUSHLESS13_ENV_PIN

#define BRUSHLESS13_ENV_PIN   0x04

◆ BRUSHLESS13_ENW_PIN

#define BRUSHLESS13_ENW_PIN   0x01

◆ BRUSHLESS13_FLT_PIN

#define BRUSHLESS13_FLT_PIN   0x40

◆ BRUSHLESS13_FLT_PIN_ACTIVE

#define BRUSHLESS13_FLT_PIN_ACTIVE   0x00

◆ BRUSHLESS13_FLT_PIN_INACTIVE

#define BRUSHLESS13_FLT_PIN_INACTIVE   0x01

Brushless 13 FLT pin state setting.

Specified setting for FLT pin state of Brushless 13 Click driver.

◆ BRUSHLESS13_INU_PIN

#define BRUSHLESS13_INU_PIN   0x20

◆ BRUSHLESS13_INV_PIN

#define BRUSHLESS13_INV_PIN   0x08

◆ BRUSHLESS13_INW_PIN

#define BRUSHLESS13_INW_PIN   0x02

◆ BRUSHLESS13_MODE_ENX_INX

#define BRUSHLESS13_MODE_ENX_INX   0x01

Brushless 13 mode setting.

Specified setting for mode of Brushless 13 Click driver.

◆ BRUSHLESS13_MODE_INXL_INXH

#define BRUSHLESS13_MODE_INXL_INXH   0x00

◆ BRUSHLESS13_NONE_PIN

#define BRUSHLESS13_NONE_PIN   0x00

Brushless 13 pin mask.

Specified pin mask of Brushless 13 Click driver.

◆ BRUSHLESS13_NUM_PIN_TOGGLE

#define BRUSHLESS13_NUM_PIN_TOGGLE   8

◆ BRUSHLESS13_PIN_STATE_HIGH

#define BRUSHLESS13_PIN_STATE_HIGH   0x01

◆ BRUSHLESS13_PIN_STATE_LOW

#define BRUSHLESS13_PIN_STATE_LOW   0x00

Brushless 13 pin logic level setting.

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

◆ BRUSHLESS13_ROUND_TO_NEAREAST_INT

#define BRUSHLESS13_ROUND_TO_NEAREAST_INT   0.5

◆ BRUSHLESS13_SPEED_MAX

#define BRUSHLESS13_SPEED_MAX   100

◆ BRUSHLESS13_SPEED_MIN

#define BRUSHLESS13_SPEED_MIN   0

Brushless 13 driving speed and time settings.

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

◆ BRUSHLESS13_TR_COM_STATE_1

#define BRUSHLESS13_TR_COM_STATE_1   0x01

◆ BRUSHLESS13_TR_COM_STATE_2

#define BRUSHLESS13_TR_COM_STATE_2   0x02

◆ BRUSHLESS13_TR_COM_STATE_3

#define BRUSHLESS13_TR_COM_STATE_3   0x03

◆ BRUSHLESS13_TR_COM_STATE_4

#define BRUSHLESS13_TR_COM_STATE_4   0x04

◆ BRUSHLESS13_TR_COM_STATE_5

#define BRUSHLESS13_TR_COM_STATE_5   0x05

◆ BRUSHLESS13_TR_COM_STATE_6

#define BRUSHLESS13_TR_COM_STATE_6   0x06

◆ BRUSHLESS13_TR_COM_STATE_BRAKE

#define BRUSHLESS13_TR_COM_STATE_BRAKE   0x07

◆ BRUSHLESS13_TR_COM_STATE_COAST

#define BRUSHLESS13_TR_COM_STATE_COAST   0x00

Brushless 13 description setting.

Specified setting for description of Brushless 13 Click driver.