#include <ubuntu/visibility.h>
#include <stdint.h>
Go to the source code of this file.
Opaque type describing a magnetic field reading.
Definition at line 32 of file magnetic.h.
Query the intensity of the magnetic field in the x-axis.
- Returns
- The intensity of the magnetic field in the x-axis in micro-Tesla (uT)
- Parameters
-
[in] | event | The reading to be queried. |
Query the intensity of the magnetic field in the x-axis.
- Returns
- The intensity of the magnetic field in the x-axis in micro-Tesla (uT)
- Parameters
-
[in] | event | The reading to be queried. |
Query the intensity of the magnetic field in the x-axis.
- Returns
- The intensity of the magnetic field in the x-axis in micro-Tesla (uT)
- Parameters
-
[in] | event | The reading to be queried. |
Query the timestamp of the sensor reading.
- Returns
- The timestamp of the sensor reading in [µs], timebase: monotonic clock.
- Parameters
-
[in] | event | The reading to be queried. |