brushless10 2.1.0.0
Brushless 10 Registers Settings

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

Macros

#define BRUSHLESS10_DAC_CHA_LA   0
 Brushless 10 DAC channel setting.
 
#define BRUSHLESS10_DAC_CHB_MIN_SP   1
 
#define BRUSHLESS10_DAC_CHC_SEL_LD   2
 
#define BRUSHLESS10_DAC_CHD_FPWM   3
 
#define BRUSHLESS10_DAC_CHE_SEL_LA   4
 
#define BRUSHLESS10_DAC_CHF_SEL_FG   5
 
#define BRUSHLESS10_DAC_CHG_SEL_SP   6
 
#define BRUSHLESS10_DAC_CHH_CW_CCW   7
 
#define BRUSHLESS10_LA0_STEP_0   88
 Brushless 10 lead angle steps, LA channel setting.
 
#define BRUSHLESS10_LA0_STEP_1   234
 
#define BRUSHLESS10_LA0_STEP_2   332
 
#define BRUSHLESS10_LA0_STEP_3   430
 
#define BRUSHLESS10_LA0_STEP_4   527
 
#define BRUSHLESS10_LA0_STEP_5   625
 
#define BRUSHLESS10_LA0_STEP_6   723
 
#define BRUSHLESS10_LA0_STEP_7   820
 
#define BRUSHLESS10_LA0_STEP_8   918
 
#define BRUSHLESS10_LA0_STEP_9   1016
 
#define BRUSHLESS10_LA0_STEP_10   1113
 
#define BRUSHLESS10_LA0_STEP_11   1211
 
#define BRUSHLESS10_LA0_STEP_12   1309
 
#define BRUSHLESS10_LA0_STEP_13   1406
 
#define BRUSHLESS10_LA0_STEP_14   1504
 
#define BRUSHLESS10_LA0_STEP_15   1602
 
#define BRUSHLESS10_LA0_STEP_16   1699
 
#define BRUSHLESS10_LA0_STEP_17   1797
 
#define BRUSHLESS10_LA0_STEP_18   1894
 
#define BRUSHLESS10_LA0_STEP_19   1992
 
#define BRUSHLESS10_LA0_STEP_20   2090
 
#define BRUSHLESS10_LA0_STEP_21   2187
 
#define BRUSHLESS10_LA0_STEP_22   2285
 
#define BRUSHLESS10_LA0_STEP_23   2383
 
#define BRUSHLESS10_LA0_STEP_24   2480
 
#define BRUSHLESS10_LA0_STEP_25   2578
 
#define BRUSHLESS10_LA0_STEP_26   2676
 
#define BRUSHLESS10_LA0_STEP_27   2773
 
#define BRUSHLESS10_LA0_STEP_28   2871
 
#define BRUSHLESS10_LA0_STEP_29   2969
 
#define BRUSHLESS10_LA0_STEP_30   3066
 
#define BRUSHLESS10_LA0_STEP_31   4062
 
#define BRUSHLESS10_LA1_STEP_0   234
 
#define BRUSHLESS10_LA1_STEP_1   673
 
#define BRUSHLESS10_LA1_STEP_2   1064
 
#define BRUSHLESS10_LA1_STEP_3   1455
 
#define BRUSHLESS10_LA1_STEP_4   1845
 
#define BRUSHLESS10_LA1_STEP_5   2236
 
#define BRUSHLESS10_LA1_STEP_6   2627
 
#define BRUSHLESS10_LA1_STEP_7   3916
 
#define BRUSHLESS10_MIN_SP_STEP_0   136
 Brushless 10 minimum output duty steps, MIN_SP channel setting.
 
#define BRUSHLESS10_MIN_SP_STEP_1   478
 
#define BRUSHLESS10_MIN_SP_STEP_2   869
 
#define BRUSHLESS10_MIN_SP_STEP_3   1259
 
#define BRUSHLESS10_MIN_SP_STEP_4   1650
 
#define BRUSHLESS10_MIN_SP_STEP_5   2041
 
#define BRUSHLESS10_MIN_SP_STEP_6   2431
 
#define BRUSHLESS10_MIN_SP_STEP_7   2822
 
#define BRUSHLESS10_MIN_SP_STEP_8   3916
 
#define BRUSHLESS10_FPWM_STEP_0   478
 Brushless 10 FPWM channel setting.
 
#define BRUSHLESS10_FPWM_STEP_1   1455
 
#define BRUSHLESS10_FPWM_STEP_2   2431
 
#define BRUSHLESS10_FPWM_STEP_3   3965
 
#define BRUSHLESS10_SEL_LD_STEP_0   478
 Brushless 10 SEL_LD channel setting.
 
#define BRUSHLESS10_SEL_LD_STEP_1   1455
 
#define BRUSHLESS10_SEL_LD_STEP_2   2431
 
#define BRUSHLESS10_SEL_LD_STEP_3   3965
 
#define BRUSHLESS10_SEL_FG_STEP_0   967
 Brushless 10 SEL_FG channel setting.
 
#define BRUSHLESS10_SEL_FG_STEP_1   3476
 
#define BRUSHLESS10_SEL_SP_STEP_0   478
 Brushless 10 SEL_SP channel setting.
 
#define BRUSHLESS10_SEL_SP_STEP_1   1943
 
#define BRUSHLESS10_SEL_SP_STEP_2   3965
 
#define BRUSHLESS10_SEL_LA_STEP_0   478
 Brushless 10 SEL_LA channel setting.
 
#define BRUSHLESS10_SEL_LA_STEP_1   1943
 
#define BRUSHLESS10_SEL_LA_STEP_2   3965
 
#define BRUSHLESS10_CW_CCW_0   0
 Brushless 10 CW_CCW channel setting.
 
#define BRUSHLESS10_CW_CCW_1   5000
 
#define BRUSHLESS10_DAC_VREF   5000
 Brushless 10 DAC vout setting.
 
#define BRUSHLESS10_DAC_RESOLUTION   256
 
#define BRUSHLESS10_DAC_ROUND_TO_INT   0.5f
 
#define BRUSHLESS10_DAC_CONFIG_PDN_ALL   0x0100
 Brushless 10 DAC DEVICE_CONFIG register setting.
 
#define BRUSHLESS10_DAC_CONFIG_PDN_CHA   0x0001
 
#define BRUSHLESS10_DAC_CONFIG_PDN_CHB   0x0002
 
#define BRUSHLESS10_DAC_CONFIG_PDN_CHC   0x0004
 
#define BRUSHLESS10_DAC_CONFIG_PDN_CHD   0x0008
 
#define BRUSHLESS10_DAC_CONFIG_PDN_CHE   0x0010
 
#define BRUSHLESS10_DAC_CONFIG_PDN_CHF   0x0020
 
#define BRUSHLESS10_DAC_CONFIG_PDN_CHG   0x0040
 
#define BRUSHLESS10_DAC_CONFIG_PDN_CHH   0x0080
 
#define BRUSHLESS10_DAC_CONFIG_ENABLE_ALL_CH   0x0000
 
#define BRUSHLESS10_DAC_DEVICE_ID   0x0500
 Brushless 10 DAC STATUS/TRIGGER register setting.
 
#define BRUSHLESS10_DAC_DEVICE_ID_MASK   0x0FC0
 
#define BRUSHLESS10_DAC_SW_RESET   0x000A
 
#define BRUSHLESS10_DEF_FREQ   50000
 Brushless 10 default PWM frequency.
 
#define BRUSHLESS10_DAC_DEVICE_ADDRESS_BROADCAST   0x47
 Brushless 10 device address setting.
 
#define BRUSHLESS10_DAC_DEVICE_ADDRESS_0   0x48
 
#define BRUSHLESS10_DAC_DEVICE_ADDRESS_1   0x49
 

Detailed Description

Settings for registers of Brushless 10 Click driver.

Macro Definition Documentation

◆ BRUSHLESS10_CW_CCW_0

#define BRUSHLESS10_CW_CCW_0   0

Brushless 10 CW_CCW channel setting.

Specified setting for CW_CCW channel of Brushless 10 Click driver.

◆ BRUSHLESS10_CW_CCW_1

#define BRUSHLESS10_CW_CCW_1   5000

◆ BRUSHLESS10_DAC_CHA_LA

#define BRUSHLESS10_DAC_CHA_LA   0

Brushless 10 DAC channel setting.

Specified setting for DAC channel of Brushless 10 Click driver.

◆ BRUSHLESS10_DAC_CHB_MIN_SP

#define BRUSHLESS10_DAC_CHB_MIN_SP   1

◆ BRUSHLESS10_DAC_CHC_SEL_LD

#define BRUSHLESS10_DAC_CHC_SEL_LD   2

◆ BRUSHLESS10_DAC_CHD_FPWM

#define BRUSHLESS10_DAC_CHD_FPWM   3

◆ BRUSHLESS10_DAC_CHE_SEL_LA

#define BRUSHLESS10_DAC_CHE_SEL_LA   4

◆ BRUSHLESS10_DAC_CHF_SEL_FG

#define BRUSHLESS10_DAC_CHF_SEL_FG   5

◆ BRUSHLESS10_DAC_CHG_SEL_SP

#define BRUSHLESS10_DAC_CHG_SEL_SP   6

◆ BRUSHLESS10_DAC_CHH_CW_CCW

#define BRUSHLESS10_DAC_CHH_CW_CCW   7

◆ BRUSHLESS10_DAC_CONFIG_ENABLE_ALL_CH

#define BRUSHLESS10_DAC_CONFIG_ENABLE_ALL_CH   0x0000

◆ BRUSHLESS10_DAC_CONFIG_PDN_ALL

#define BRUSHLESS10_DAC_CONFIG_PDN_ALL   0x0100

Brushless 10 DAC DEVICE_CONFIG register setting.

Specified setting for DAC DEVICE_CONFIG register of Brushless 10 Click driver.

◆ BRUSHLESS10_DAC_CONFIG_PDN_CHA

#define BRUSHLESS10_DAC_CONFIG_PDN_CHA   0x0001

◆ BRUSHLESS10_DAC_CONFIG_PDN_CHB

#define BRUSHLESS10_DAC_CONFIG_PDN_CHB   0x0002

◆ BRUSHLESS10_DAC_CONFIG_PDN_CHC

#define BRUSHLESS10_DAC_CONFIG_PDN_CHC   0x0004

◆ BRUSHLESS10_DAC_CONFIG_PDN_CHD

#define BRUSHLESS10_DAC_CONFIG_PDN_CHD   0x0008

◆ BRUSHLESS10_DAC_CONFIG_PDN_CHE

#define BRUSHLESS10_DAC_CONFIG_PDN_CHE   0x0010

◆ BRUSHLESS10_DAC_CONFIG_PDN_CHF

#define BRUSHLESS10_DAC_CONFIG_PDN_CHF   0x0020

◆ BRUSHLESS10_DAC_CONFIG_PDN_CHG

#define BRUSHLESS10_DAC_CONFIG_PDN_CHG   0x0040

◆ BRUSHLESS10_DAC_CONFIG_PDN_CHH

#define BRUSHLESS10_DAC_CONFIG_PDN_CHH   0x0080

◆ BRUSHLESS10_DAC_DEVICE_ADDRESS_0

#define BRUSHLESS10_DAC_DEVICE_ADDRESS_0   0x48

◆ BRUSHLESS10_DAC_DEVICE_ADDRESS_1

#define BRUSHLESS10_DAC_DEVICE_ADDRESS_1   0x49

◆ BRUSHLESS10_DAC_DEVICE_ADDRESS_BROADCAST

#define BRUSHLESS10_DAC_DEVICE_ADDRESS_BROADCAST   0x47

Brushless 10 device address setting.

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

◆ BRUSHLESS10_DAC_DEVICE_ID

#define BRUSHLESS10_DAC_DEVICE_ID   0x0500

Brushless 10 DAC STATUS/TRIGGER register setting.

Specified setting for DAC STATUS/TRIGGER register of Brushless 10 Click driver.

◆ BRUSHLESS10_DAC_DEVICE_ID_MASK

#define BRUSHLESS10_DAC_DEVICE_ID_MASK   0x0FC0

◆ BRUSHLESS10_DAC_RESOLUTION

#define BRUSHLESS10_DAC_RESOLUTION   256

◆ BRUSHLESS10_DAC_ROUND_TO_INT

#define BRUSHLESS10_DAC_ROUND_TO_INT   0.5f

◆ BRUSHLESS10_DAC_SW_RESET

#define BRUSHLESS10_DAC_SW_RESET   0x000A

◆ BRUSHLESS10_DAC_VREF

#define BRUSHLESS10_DAC_VREF   5000

Brushless 10 DAC vout setting.

Specified setting for DAC vout of Brushless 10 Click driver.

◆ BRUSHLESS10_DEF_FREQ

#define BRUSHLESS10_DEF_FREQ   50000

Brushless 10 default PWM frequency.

Specified setting for default PWM frequency of Brushless 10 Click driver.

◆ BRUSHLESS10_FPWM_STEP_0

#define BRUSHLESS10_FPWM_STEP_0   478

Brushless 10 FPWM channel setting.

Specified setting for FPWM channel of Brushless 10 Click driver.

◆ BRUSHLESS10_FPWM_STEP_1

#define BRUSHLESS10_FPWM_STEP_1   1455

◆ BRUSHLESS10_FPWM_STEP_2

#define BRUSHLESS10_FPWM_STEP_2   2431

◆ BRUSHLESS10_FPWM_STEP_3

#define BRUSHLESS10_FPWM_STEP_3   3965

◆ BRUSHLESS10_LA0_STEP_0

#define BRUSHLESS10_LA0_STEP_0   88

Brushless 10 lead angle steps, LA channel setting.

Specified setting for lead angle steps, LA channel of Brushless 10 Click driver.

◆ BRUSHLESS10_LA0_STEP_1

#define BRUSHLESS10_LA0_STEP_1   234

◆ BRUSHLESS10_LA0_STEP_10

#define BRUSHLESS10_LA0_STEP_10   1113

◆ BRUSHLESS10_LA0_STEP_11

#define BRUSHLESS10_LA0_STEP_11   1211

◆ BRUSHLESS10_LA0_STEP_12

#define BRUSHLESS10_LA0_STEP_12   1309

◆ BRUSHLESS10_LA0_STEP_13

#define BRUSHLESS10_LA0_STEP_13   1406

◆ BRUSHLESS10_LA0_STEP_14

#define BRUSHLESS10_LA0_STEP_14   1504

◆ BRUSHLESS10_LA0_STEP_15

#define BRUSHLESS10_LA0_STEP_15   1602

◆ BRUSHLESS10_LA0_STEP_16

#define BRUSHLESS10_LA0_STEP_16   1699

◆ BRUSHLESS10_LA0_STEP_17

#define BRUSHLESS10_LA0_STEP_17   1797

◆ BRUSHLESS10_LA0_STEP_18

#define BRUSHLESS10_LA0_STEP_18   1894

◆ BRUSHLESS10_LA0_STEP_19

#define BRUSHLESS10_LA0_STEP_19   1992

◆ BRUSHLESS10_LA0_STEP_2

#define BRUSHLESS10_LA0_STEP_2   332

◆ BRUSHLESS10_LA0_STEP_20

#define BRUSHLESS10_LA0_STEP_20   2090

◆ BRUSHLESS10_LA0_STEP_21

#define BRUSHLESS10_LA0_STEP_21   2187

◆ BRUSHLESS10_LA0_STEP_22

#define BRUSHLESS10_LA0_STEP_22   2285

◆ BRUSHLESS10_LA0_STEP_23

#define BRUSHLESS10_LA0_STEP_23   2383

◆ BRUSHLESS10_LA0_STEP_24

#define BRUSHLESS10_LA0_STEP_24   2480

◆ BRUSHLESS10_LA0_STEP_25

#define BRUSHLESS10_LA0_STEP_25   2578

◆ BRUSHLESS10_LA0_STEP_26

#define BRUSHLESS10_LA0_STEP_26   2676

◆ BRUSHLESS10_LA0_STEP_27

#define BRUSHLESS10_LA0_STEP_27   2773

◆ BRUSHLESS10_LA0_STEP_28

#define BRUSHLESS10_LA0_STEP_28   2871

◆ BRUSHLESS10_LA0_STEP_29

#define BRUSHLESS10_LA0_STEP_29   2969

◆ BRUSHLESS10_LA0_STEP_3

#define BRUSHLESS10_LA0_STEP_3   430

◆ BRUSHLESS10_LA0_STEP_30

#define BRUSHLESS10_LA0_STEP_30   3066

◆ BRUSHLESS10_LA0_STEP_31

#define BRUSHLESS10_LA0_STEP_31   4062

◆ BRUSHLESS10_LA0_STEP_4

#define BRUSHLESS10_LA0_STEP_4   527

◆ BRUSHLESS10_LA0_STEP_5

#define BRUSHLESS10_LA0_STEP_5   625

◆ BRUSHLESS10_LA0_STEP_6

#define BRUSHLESS10_LA0_STEP_6   723

◆ BRUSHLESS10_LA0_STEP_7

#define BRUSHLESS10_LA0_STEP_7   820

◆ BRUSHLESS10_LA0_STEP_8

#define BRUSHLESS10_LA0_STEP_8   918

◆ BRUSHLESS10_LA0_STEP_9

#define BRUSHLESS10_LA0_STEP_9   1016

◆ BRUSHLESS10_LA1_STEP_0

#define BRUSHLESS10_LA1_STEP_0   234

◆ BRUSHLESS10_LA1_STEP_1

#define BRUSHLESS10_LA1_STEP_1   673

◆ BRUSHLESS10_LA1_STEP_2

#define BRUSHLESS10_LA1_STEP_2   1064

◆ BRUSHLESS10_LA1_STEP_3

#define BRUSHLESS10_LA1_STEP_3   1455

◆ BRUSHLESS10_LA1_STEP_4

#define BRUSHLESS10_LA1_STEP_4   1845

◆ BRUSHLESS10_LA1_STEP_5

#define BRUSHLESS10_LA1_STEP_5   2236

◆ BRUSHLESS10_LA1_STEP_6

#define BRUSHLESS10_LA1_STEP_6   2627

◆ BRUSHLESS10_LA1_STEP_7

#define BRUSHLESS10_LA1_STEP_7   3916

◆ BRUSHLESS10_MIN_SP_STEP_0

#define BRUSHLESS10_MIN_SP_STEP_0   136

Brushless 10 minimum output duty steps, MIN_SP channel setting.

Specified setting for minimum output duty steps, MIN_SP channel of Brushless 10 Click driver.

◆ BRUSHLESS10_MIN_SP_STEP_1

#define BRUSHLESS10_MIN_SP_STEP_1   478

◆ BRUSHLESS10_MIN_SP_STEP_2

#define BRUSHLESS10_MIN_SP_STEP_2   869

◆ BRUSHLESS10_MIN_SP_STEP_3

#define BRUSHLESS10_MIN_SP_STEP_3   1259

◆ BRUSHLESS10_MIN_SP_STEP_4

#define BRUSHLESS10_MIN_SP_STEP_4   1650

◆ BRUSHLESS10_MIN_SP_STEP_5

#define BRUSHLESS10_MIN_SP_STEP_5   2041

◆ BRUSHLESS10_MIN_SP_STEP_6

#define BRUSHLESS10_MIN_SP_STEP_6   2431

◆ BRUSHLESS10_MIN_SP_STEP_7

#define BRUSHLESS10_MIN_SP_STEP_7   2822

◆ BRUSHLESS10_MIN_SP_STEP_8

#define BRUSHLESS10_MIN_SP_STEP_8   3916

◆ BRUSHLESS10_SEL_FG_STEP_0

#define BRUSHLESS10_SEL_FG_STEP_0   967

Brushless 10 SEL_FG channel setting.

Specified setting for SEL_FG channel of Brushless 10 Click driver.

◆ BRUSHLESS10_SEL_FG_STEP_1

#define BRUSHLESS10_SEL_FG_STEP_1   3476

◆ BRUSHLESS10_SEL_LA_STEP_0

#define BRUSHLESS10_SEL_LA_STEP_0   478

Brushless 10 SEL_LA channel setting.

Specified setting for SEL_LA channel of Brushless 10 Click driver.

◆ BRUSHLESS10_SEL_LA_STEP_1

#define BRUSHLESS10_SEL_LA_STEP_1   1943

◆ BRUSHLESS10_SEL_LA_STEP_2

#define BRUSHLESS10_SEL_LA_STEP_2   3965

◆ BRUSHLESS10_SEL_LD_STEP_0

#define BRUSHLESS10_SEL_LD_STEP_0   478

Brushless 10 SEL_LD channel setting.

Specified setting for SEL_LD channel of Brushless 10 Click driver.

◆ BRUSHLESS10_SEL_LD_STEP_1

#define BRUSHLESS10_SEL_LD_STEP_1   1455

◆ BRUSHLESS10_SEL_LD_STEP_2

#define BRUSHLESS10_SEL_LD_STEP_2   2431

◆ BRUSHLESS10_SEL_LD_STEP_3

#define BRUSHLESS10_SEL_LD_STEP_3   3965

◆ BRUSHLESS10_SEL_SP_STEP_0

#define BRUSHLESS10_SEL_SP_STEP_0   478

Brushless 10 SEL_SP channel setting.

Specified setting for SEL_SP channel of Brushless 10 Click driver.

◆ BRUSHLESS10_SEL_SP_STEP_1

#define BRUSHLESS10_SEL_SP_STEP_1   1943

◆ BRUSHLESS10_SEL_SP_STEP_2

#define BRUSHLESS10_SEL_SP_STEP_2   3965