magneto9 2.0.0.0
|
Settings for registers of Magneto 9 Click driver. More...
Macros | |
#define | MAGNETO9_SET_DEV_ADDR 0x4D |
Magneto 9 device address setting. | |
#define | MAGNETO9_ADC_RESOLUTION 0x0FFF |
Magneto 9 ADC setting. | |
#define | MAGNETO9_VREF_5V 5.0 |
#define | MAGNETO9_QUIESCENT_VOUT 2.5 |
Magneto 9 magnetic field strength constants. | |
#define | MAGNETO9_AN_SENSITIVITY_V_PER_G 0.009 |
#define | MAGNETO9_GAUSS_TO_MILITESLA 0.1 |
#define | MAGNETO9_VOLTAGE_TO_FIELD_STRENGTH(voltage) |
Magneto 9 voltage to magnetic field strength macro. | |
Settings for registers of Magneto 9 Click driver.
#define MAGNETO9_ADC_RESOLUTION 0x0FFF |
Magneto 9 ADC setting.
Specified settings for ADC of Magneto 9 Click driver.
#define MAGNETO9_AN_SENSITIVITY_V_PER_G 0.009 |
#define MAGNETO9_GAUSS_TO_MILITESLA 0.1 |
#define MAGNETO9_QUIESCENT_VOUT 2.5 |
Magneto 9 magnetic field strength constants.
Specified constants for magnetic field strength of Magneto 9 Click driver.
#define MAGNETO9_SET_DEV_ADDR 0x4D |
Magneto 9 device address setting.
Specified setting for device slave address selection of Magneto 9 Click driver.
#define MAGNETO9_VOLTAGE_TO_FIELD_STRENGTH | ( | voltage | ) |
Magneto 9 voltage to magnetic field strength macro.
This macro calculates magnetic field strength (militesla) based on the voltage input.
[in] | voltage | : Voltage from VOUT (volts). |
#define MAGNETO9_VREF_5V 5.0 |