brushless27 2.1.0.0
Brushless 27 Registers Settings

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

Macros

#define BRUSHLESS27_TR_COM_STATE_COAST   0x00
 Brushless 27 description setting.
 
#define BRUSHLESS27_TR_COM_STATE_1   0x01
 
#define BRUSHLESS27_TR_COM_STATE_2   0x02
 
#define BRUSHLESS27_TR_COM_STATE_3   0x03
 
#define BRUSHLESS27_TR_COM_STATE_4   0x04
 
#define BRUSHLESS27_TR_COM_STATE_5   0x05
 
#define BRUSHLESS27_TR_COM_STATE_6   0x06
 
#define BRUSHLESS27_TR_COM_STATE_BRAKE   0x07
 
#define BRUSHLESS27_NONE_PIN   0x00
 Brushless 27 pin mask.
 
#define BRUSHLESS27_UH_PIN   0x01
 
#define BRUSHLESS27_VH_PIN   0x02
 
#define BRUSHLESS27_WH_PIN   0x04
 
#define BRUSHLESS27_VL_PIN   0x10
 
#define BRUSHLESS27_WL_PIN   0x20
 
#define BRUSHLESS27_UL_PIN   0x40
 
#define BRUSHLESS27_FLT_PIN   0x80
 
#define BRUSHLESS27_ALL_OUTPUT_PIN   0x77
 
#define BRUSHLESS27_ALL_PIN   0xF7
 
#define BRUSHLESS27_MODE_ENX_INX   0x01
 Brushless 27 mode setting.
 
#define BRUSHLESS27_MODE_INXL_INXH   0x00
 
#define BRUSHLESS27_DIR_CW   0x01
 Brushless 27 direction setting.
 
#define BRUSHLESS27_DIR_CCW   0x00
 
#define BRUSHLESS27_PIN_STATE_LOW   0x00
 Brushless 27 pin logic level setting.
 
#define BRUSHLESS27_PIN_STATE_HIGH   0x01
 
#define BRUSHLESS27_FLT_PIN_INACTIVE   0x01
 Brushless 27 FLT pin state setting.
 
#define BRUSHLESS27_FLT_PIN_ACTIVE   0x00
 
#define BRUSHLESS27_SPEED_MIN   0
 Brushless 27 driving speed and time settings.
 
#define BRUSHLESS27_SPEED_MAX   100
 
#define BRUSHLESS27_NUM_PIN_TOGGLE   8
 
#define BRUSHLESS27_ROUND_TO_NEAREAST_INT   0.5
 
#define BRUSHLESS27_COM_SEQ_DURATION_FOR_SPEED_MAX   21.611
 Brushless 27 commutation sequance duration settings.
 
#define BRUSHLESS27_COM_SEQ_DURATION_SPEED_STEP   ( 22.044 - BRUSHLESS27_COM_SEQ_DURATION_FOR_SPEED_MAX )
 
#define BRUSHLESS27_DEVICE_ADDRESS_A1A0_00   0x70
 Brushless 27 device address setting.
 
#define BRUSHLESS27_DEVICE_ADDRESS_A1A0_01   0x71
 
#define BRUSHLESS27_DEVICE_ADDRESS_A1A0_10   0x72
 
#define BRUSHLESS27_DEVICE_ADDRESS_A1A0_11   0x73
 

Detailed Description

Settings for registers of Brushless 27 Click driver.

Macro Definition Documentation

◆ BRUSHLESS27_ALL_OUTPUT_PIN

#define BRUSHLESS27_ALL_OUTPUT_PIN   0x77

◆ BRUSHLESS27_ALL_PIN

#define BRUSHLESS27_ALL_PIN   0xF7

◆ BRUSHLESS27_COM_SEQ_DURATION_FOR_SPEED_MAX

#define BRUSHLESS27_COM_SEQ_DURATION_FOR_SPEED_MAX   21.611

Brushless 27 commutation sequance duration settings.

Specified commutation sequance duration settings of Brushless 27 Click driver.

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

◆ BRUSHLESS27_COM_SEQ_DURATION_SPEED_STEP

#define BRUSHLESS27_COM_SEQ_DURATION_SPEED_STEP   ( 22.044 - BRUSHLESS27_COM_SEQ_DURATION_FOR_SPEED_MAX )

◆ BRUSHLESS27_DEVICE_ADDRESS_A1A0_00

#define BRUSHLESS27_DEVICE_ADDRESS_A1A0_00   0x70

Brushless 27 device address setting.

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

◆ BRUSHLESS27_DEVICE_ADDRESS_A1A0_01

#define BRUSHLESS27_DEVICE_ADDRESS_A1A0_01   0x71

◆ BRUSHLESS27_DEVICE_ADDRESS_A1A0_10

#define BRUSHLESS27_DEVICE_ADDRESS_A1A0_10   0x72

◆ BRUSHLESS27_DEVICE_ADDRESS_A1A0_11

#define BRUSHLESS27_DEVICE_ADDRESS_A1A0_11   0x73

◆ BRUSHLESS27_DIR_CCW

#define BRUSHLESS27_DIR_CCW   0x00

◆ BRUSHLESS27_DIR_CW

#define BRUSHLESS27_DIR_CW   0x01

Brushless 27 direction setting.

Specified setting for direction of Brushless 27 Click driver.

◆ BRUSHLESS27_FLT_PIN

#define BRUSHLESS27_FLT_PIN   0x80

◆ BRUSHLESS27_FLT_PIN_ACTIVE

#define BRUSHLESS27_FLT_PIN_ACTIVE   0x00

◆ BRUSHLESS27_FLT_PIN_INACTIVE

#define BRUSHLESS27_FLT_PIN_INACTIVE   0x01

Brushless 27 FLT pin state setting.

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

◆ BRUSHLESS27_MODE_ENX_INX

#define BRUSHLESS27_MODE_ENX_INX   0x01

Brushless 27 mode setting.

Specified setting for mode of Brushless 27 Click driver.

◆ BRUSHLESS27_MODE_INXL_INXH

#define BRUSHLESS27_MODE_INXL_INXH   0x00

◆ BRUSHLESS27_NONE_PIN

#define BRUSHLESS27_NONE_PIN   0x00

Brushless 27 pin mask.

Specified pin mask of Brushless 27 Click driver.

◆ BRUSHLESS27_NUM_PIN_TOGGLE

#define BRUSHLESS27_NUM_PIN_TOGGLE   8

◆ BRUSHLESS27_PIN_STATE_HIGH

#define BRUSHLESS27_PIN_STATE_HIGH   0x01

◆ BRUSHLESS27_PIN_STATE_LOW

#define BRUSHLESS27_PIN_STATE_LOW   0x00

Brushless 27 pin logic level setting.

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

◆ BRUSHLESS27_ROUND_TO_NEAREAST_INT

#define BRUSHLESS27_ROUND_TO_NEAREAST_INT   0.5

◆ BRUSHLESS27_SPEED_MAX

#define BRUSHLESS27_SPEED_MAX   100

◆ BRUSHLESS27_SPEED_MIN

#define BRUSHLESS27_SPEED_MIN   0

Brushless 27 driving speed and time settings.

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

◆ BRUSHLESS27_TR_COM_STATE_1

#define BRUSHLESS27_TR_COM_STATE_1   0x01

◆ BRUSHLESS27_TR_COM_STATE_2

#define BRUSHLESS27_TR_COM_STATE_2   0x02

◆ BRUSHLESS27_TR_COM_STATE_3

#define BRUSHLESS27_TR_COM_STATE_3   0x03

◆ BRUSHLESS27_TR_COM_STATE_4

#define BRUSHLESS27_TR_COM_STATE_4   0x04

◆ BRUSHLESS27_TR_COM_STATE_5

#define BRUSHLESS27_TR_COM_STATE_5   0x05

◆ BRUSHLESS27_TR_COM_STATE_6

#define BRUSHLESS27_TR_COM_STATE_6   0x06

◆ BRUSHLESS27_TR_COM_STATE_BRAKE

#define BRUSHLESS27_TR_COM_STATE_BRAKE   0x07

◆ BRUSHLESS27_TR_COM_STATE_COAST

#define BRUSHLESS27_TR_COM_STATE_COAST   0x00

Brushless 27 description setting.

Specified setting for description of Brushless 27 Click driver.

◆ BRUSHLESS27_UH_PIN

#define BRUSHLESS27_UH_PIN   0x01

◆ BRUSHLESS27_UL_PIN

#define BRUSHLESS27_UL_PIN   0x40

◆ BRUSHLESS27_VH_PIN

#define BRUSHLESS27_VH_PIN   0x02

◆ BRUSHLESS27_VL_PIN

#define BRUSHLESS27_VL_PIN   0x10

◆ BRUSHLESS27_WH_PIN

#define BRUSHLESS27_WH_PIN   0x04

◆ BRUSHLESS27_WL_PIN

#define BRUSHLESS27_WL_PIN   0x20