13#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_BMM350_H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_BMM350_H_
APIs and macros for the Zephyr device model.
int bmm350_magnetic_reset(const struct device *dev)
Performs a magnetic reset.
int bmm350_self_test(const struct device *dev, struct bmm350_self_test_result *result)
Run the BMM350 built-in user self-test.
__INT32_TYPE__ int32_t
Definition stdint.h:74
BMM350 user self-test result.
Definition bmm350.h:34
int32_t x_neg
X-axis response to negative excitation [uT].
Definition bmm350.h:36
int32_t y_pos
Y-axis response to positive excitation [uT].
Definition bmm350.h:37
int32_t x_delta
x_pos - x_neg [uT]
Definition bmm350.h:39
int32_t y_delta
y_pos - y_neg [uT]
Definition bmm350.h:40
int32_t x_pos
X-axis response to positive excitation [uT].
Definition bmm350.h:35
int32_t y_neg
Y-axis response to negative excitation [uT].
Definition bmm350.h:38
Runtime device structure (in ROM) per driver instance.
Definition device.h:543