Settings for registers of Current 5 Click driver.
More...
Settings for registers of Current 5 Click driver.
◆ CURRENT5_GAIN_ERROR_PERCENTS
#define CURRENT5_GAIN_ERROR_PERCENTS 6.0 |
◆ CURRENT5_RESOLUTION
#define CURRENT5_RESOLUTION 4096.0 |
◆ CURRENT5_RSHUNT_mOHM
#define CURRENT5_RSHUNT_mOHM 2.0 |
◆ CURRENT5_SET_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 current5_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ CURRENT5_SET_DATA_SAMPLE_MIDDLE
◆ CURRENT5_VOLTAGE_GAIN
#define CURRENT5_VOLTAGE_GAIN 200.0 |
Current 5 current calculation values.
Specified current calculation values of Current 5 Click driver.
◆ CURRENT5_VREF_mV
#define CURRENT5_VREF_mV 3300.0 |