compass7 2.0.0.0
|
Settings for registers of Compass 7 Click driver. More...
Settings for registers of Compass 7 Click driver.
#define COMPASS7_CONTROL0_AUTO_SR_EN 0x20 |
#define COMPASS7_CONTROL0_AUTO_ST_EN 0x40 |
#define COMPASS7_CONTROL0_CMM_FREQ_EN 0x80 |
Compass 7 internal control 0 register settings.
Specified internal control 0 register settings of Compass 7 Click driver.
#define COMPASS7_CONTROL0_DO_RESET 0x10 |
#define COMPASS7_CONTROL0_DO_SET 0x08 |
#define COMPASS7_CONTROL0_START_MDT 0x04 |
#define COMPASS7_CONTROL0_TAKE_MEAS_M 0x01 |
#define COMPASS7_CONTROL0_TAKE_MEAS_T 0x02 |
#define COMPASS7_CONTROL1_BW_1p2MS 0x03 |
#define COMPASS7_CONTROL1_BW_2p0MS 0x02 |
#define COMPASS7_CONTROL1_BW_3p5MS 0x01 |
#define COMPASS7_CONTROL1_BW_6p6MS 0x00 |
#define COMPASS7_CONTROL1_BW_BIT_MASK 0x03 |
#define COMPASS7_CONTROL1_ST_ENM 0x40 |
#define COMPASS7_CONTROL1_ST_ENP 0x20 |
#define COMPASS7_CONTROL1_SW_RESET 0x80 |
Compass 7 internal control 1 register settings.
Specified internal control 1 register settings of Compass 7 Click driver.
#define COMPASS7_CONTROL1_X_INHIBIT 0x04 |
#define COMPASS7_CONTROL1_Y_INHIBIT 0x08 |
#define COMPASS7_CONTROL1_Z_INHIBIT 0x10 |
#define COMPASS7_CONTROL2_CMM_EN 0x10 |
#define COMPASS7_CONTROL2_EN_PRD_SET 0x08 |
#define COMPASS7_CONTROL2_HPOWER 0x80 |
Compass 7 internal control 2 register settings.
Specified internal control 2 register settings of Compass 7 Click driver.
#define COMPASS7_CONTROL2_INT_MDT_EN 0x20 |
#define COMPASS7_CONTROL2_INT_MEAS_DONE_EN 0x40 |
#define COMPASS7_CONTROL2_PRD_SET_1000_SMPL 0x06 |
#define COMPASS7_CONTROL2_PRD_SET_100_SMPL 0x03 |
#define COMPASS7_CONTROL2_PRD_SET_1_SMPL 0x00 |
#define COMPASS7_CONTROL2_PRD_SET_2000_SMPL 0x07 |
#define COMPASS7_CONTROL2_PRD_SET_250_SMPL 0x04 |
#define COMPASS7_CONTROL2_PRD_SET_25_SMPL 0x01 |
#define COMPASS7_CONTROL2_PRD_SET_500_SMPL 0x05 |
#define COMPASS7_CONTROL2_PRD_SET_75_SMPL 0x02 |
#define COMPASS7_CONTROL2_PRD_SET_BIT_MASK 0x07 |
#define COMPASS7_DEVICE_ADDRESS 0x30 |
Compass 7 device address setting.
Specified setting for device slave address selection of Compass 7 Click driver.
#define COMPASS7_MAGNETIC_OFFSET 0x080000l |
Compass 7 data calculation values.
Specified data calculation values of Compass 7 Click driver.
#define COMPASS7_MAGNETIC_RESOLUTION 0.0625 |
#define COMPASS7_MEAS_CONTINUOUS_M_100HZ 8 |
#define COMPASS7_MEAS_CONTINUOUS_M_10HZ 5 |
#define COMPASS7_MEAS_CONTINUOUS_M_1HZ 2 |
#define COMPASS7_MEAS_CONTINUOUS_M_25HZ 6 |
#define COMPASS7_MEAS_CONTINUOUS_M_2HZ 3 |
#define COMPASS7_MEAS_CONTINUOUS_M_50HZ 7 |
#define COMPASS7_MEAS_CONTINUOUS_M_5HZ 4 |
#define COMPASS7_MEAS_SINGLE_M 1 |
#define COMPASS7_MEAS_SINGLE_T 0 |
Compass 7 measurement mode settings.
Specified measurement mode settings of Compass 7 Click driver.
#define COMPASS7_MILLIGAUSS_TO_GAUSS 0.001 |
#define COMPASS7_ODR_100HZ 100 |
#define COMPASS7_ODR_10HZ 10 |
#define COMPASS7_ODR_1HZ 1 |
#define COMPASS7_ODR_25HZ 25 |
#define COMPASS7_ODR_2HZ 2 |
#define COMPASS7_ODR_50HZ 50 |
#define COMPASS7_ODR_5HZ 5 |
#define COMPASS7_ODR_DISABLE 0 |
Compass 7 ODR register settings.
Specified ODR register settings of Compass 7 Click driver.
#define COMPASS7_PRODUCT_ID 0x10 |
Compass 7 product ID value.
Specified product ID value of Compass 7 Click driver.
#define COMPASS7_STATUS1_MDT_FLAG_INT 0x04 |
#define COMPASS7_STATUS1_MEAS_M_DONE 0x40 |
#define COMPASS7_STATUS1_MEAS_M_DONE_INT 0x01 |
#define COMPASS7_STATUS1_MEAS_T_DONE 0x80 |
Compass 7 status 1 register settings.
Specified status 1 register settings of Compass 7 Click driver.
#define COMPASS7_STATUS1_MEAS_T_DONE_INT 0x02 |
#define COMPASS7_STATUS1_OTP_READ_DONE 0x10 |
#define COMPASS7_STATUS1_SAT_SENSOR 0x20 |
#define COMPASS7_STATUS1_ST_FAIL 0x08 |
#define COMPASS7_TEMPERATURE_OFFSET 75 |
#define COMPASS7_TEMPERATURE_RESOLUTION 0.8 |
#define COMPASS7_TIMEOUT 2000 |