26 void update_data(sh2_SensorValue_t* sensor_val)
override;
28 static const constexpr char*
TAG =
"BNO08xRptRawMEMSMagnetometer";
Class to represent and manage reports returned from BNO08x.
Definition BNO08xRpt.hpp:24
BNO08xPrivateTypes::bno08x_sync_ctx_t * sync_ctx
Definition BNO08xRpt.hpp:39
uint8_t ID
Report ID, ex. SH2_ACCELERATION.
Definition BNO08xRpt.hpp:36
EventBits_t rpt_bit
Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data.
Definition BNO08xRpt.hpp:37
Class to represent raw magnetometer reports. (See Ref. Manual 6.5.15)
Definition BNO08xRptRawMEMSMagnetometer.hpp:16
BNO08xRptRawMEMSMagnetometer(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx)
Definition BNO08xRptRawMEMSMagnetometer.hpp:18
bno08x_raw_magf_t get()
Grabs most recent raw magnetometer data, units are ADC counts, time_stamp in microseconds.
Definition BNO08xRptRawMEMSMagnetometer.cpp:31
bno08x_raw_magf_t data
Definition BNO08xRptRawMEMSMagnetometer.hpp:27
void update_data(sh2_SensorValue_t *sensor_val) override
Updates raw magnetometer data from decoded sensor event.
Definition BNO08xRptRawMEMSMagnetometer.cpp:15
static const constexpr char * TAG
Definition BNO08xRptRawMEMSMagnetometer.hpp:28
Holds context used to synchronize tasks and callback execution.
Definition BNO08xPrivateTypes.hpp:57
Struct to represent raw mems magnetometer data from raw magnetometer reports (units in ADC counts).
Definition BNO08xGlobalTypes.hpp:654