brushless30  2.1.0.0
Macros
Brushless 30 Registers Settings

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

Macros

#define BRUSHLESS30_HS_VDS_SEL   0x2444
 Brushless 30 default config setting. More...
 
#define BRUSHLESS30_LS_VDS_SEL   0x2444
 
#define BRUSHLESS30_AMP_CTRL   0x0333
 
#define BRUSHLESS30_CP_RLY_CTRL   0x1111
 
#define BRUSHLESS30_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection. More...
 
#define BRUSHLESS30_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Brushless 30 Click driver.

Macro Definition Documentation

◆ BRUSHLESS30_AMP_CTRL

#define BRUSHLESS30_AMP_CTRL   0x0333

◆ BRUSHLESS30_CP_RLY_CTRL

#define BRUSHLESS30_CP_RLY_CTRL   0x1111

◆ BRUSHLESS30_HS_VDS_SEL

#define BRUSHLESS30_HS_VDS_SEL   0x2444

Brushless 30 default config setting.

Specified setting for default config of Brushless 30 Click driver.

◆ BRUSHLESS30_LS_VDS_SEL

#define BRUSHLESS30_LS_VDS_SEL   0x2444

◆ BRUSHLESS30_SET_DATA_SAMPLE_EDGE

#define BRUSHLESS30_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with brushless30_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ BRUSHLESS30_SET_DATA_SAMPLE_MIDDLE

#define BRUSHLESS30_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE