2022-12-20 14:05:14 +01:00

14 lines
427 B
C

#include "esp_err.h"
#include <stdint.h>
esp_err_t MMC56x3_get_product_ID(uint8_t* id);
esp_err_t MMC56x3_get_temperature(uint8_t* temp);
esp_err_t MMC56x3_get_mag_field(int32_t* x, int32_t* y, int32_t* z);
esp_err_t MMC56x3_set();
esp_err_t MMC56x3_reset();
esp_err_t MMC56x3_get_bridge_offset(int32_t* x, int32_t* y, int32_t* z);
esp_err_t MMC56x3_to_mG(int32_t x, int32_t y, int32_t z, float* rx, float* ry, float* rz);