hallcurrent17 2.1.0.0
Hall Current 17 Registers Settings

Settings for registers of Hall Current 17 Click driver. More...

Macros

#define HALLCURRENT17_RESOLUTION_12BIT   0x0FFFu
 Hall Current 17 description setting.
 
#define HALLCURRENT17_VREF_3V3   3.3f
 Hall Current 17 voltage reference selection.
 
#define HALLCURRENT17_VREF_5V   5.0f
 
#define HALLCURRENT17_RES_R5_R7_100_KOHM   100.0f
 Hall Current 17 resistance value (voltage divider calculation).
 
#define HALLCURRENT17_RES_R6_R8_100_KOHM   100.0f
 
#define HALLCURRENT17_NUM_OF_MEASURE   1000u
 Hall Current 17 data values to calculate.
 
#define HALLCURRENT17_CONV_V_TO_MV   1000.0f
 
#define HALLCURRENT17_SENSITIVITY_MV_A   40.0f
 Hall Current 17 sensitivity (mV/A) value.
 
#define HALLCURRENT17_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define HALLCURRENT17_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Hall Current 17 Click driver.

Macro Definition Documentation

◆ HALLCURRENT17_CONV_V_TO_MV

#define HALLCURRENT17_CONV_V_TO_MV   1000.0f

◆ HALLCURRENT17_NUM_OF_MEASURE

#define HALLCURRENT17_NUM_OF_MEASURE   1000u

Hall Current 17 data values to calculate.

Specified data values to calculate of Hall Current 17 Click driver.

◆ HALLCURRENT17_RES_R5_R7_100_KOHM

#define HALLCURRENT17_RES_R5_R7_100_KOHM   100.0f

Hall Current 17 resistance value (voltage divider calculation).

Specified resistance value of Hall Current 17 Click driver.

◆ HALLCURRENT17_RES_R6_R8_100_KOHM

#define HALLCURRENT17_RES_R6_R8_100_KOHM   100.0f

◆ HALLCURRENT17_RESOLUTION_12BIT

#define HALLCURRENT17_RESOLUTION_12BIT   0x0FFFu

Hall Current 17 description setting.

Specified setting for description of Hall Current 17 Click driver.

◆ HALLCURRENT17_SENSITIVITY_MV_A

#define HALLCURRENT17_SENSITIVITY_MV_A   40.0f

Hall Current 17 sensitivity (mV/A) value.

Specified sensitivity value of Hall Current 17 Click driver.

◆ HALLCURRENT17_SET_DATA_SAMPLE_EDGE

#define HALLCURRENT17_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 hallcurrent17_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ HALLCURRENT17_SET_DATA_SAMPLE_MIDDLE

#define HALLCURRENT17_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ HALLCURRENT17_VREF_3V3

#define HALLCURRENT17_VREF_3V3   3.3f

Hall Current 17 voltage reference selection.

Specified voltage reference selection of Hall Current 17 Click driver.

◆ HALLCURRENT17_VREF_5V

#define HALLCURRENT17_VREF_5V   5.0f