Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tmag5273.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMAG5273_H_
8#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMAG5273_H_
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
15
16/* --- Additional TMAG5273 definitions */
17
24
29
34};
35
49};
50
55#define TMAG5273_ANGLE_CALC_NONE 0
56#define TMAG5273_ANGLE_CALC_XY 1
57#define TMAG5273_ANGLE_CALC_YZ 2
58#define TMAG5273_ANGLE_CALC_XZ 3
59
60#ifdef __cplusplus
61}
62#endif
63
64#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMAG5273_H_ */
tmag5273_sensor_channel
Additional channels supported by the TMAG5273.
Definition: tmag5273.h:19
@ TMAG5273_CHAN_ANGLE_MAGNITUDE
Angle result in deg, magnitude result in Gs and magnitude MSB between two axis.
Definition: tmag5273.h:33
@ TMAG5273_CHAN_MAGNITUDE_MSB
Magnitude measurement MSB as returned by the sensor.
Definition: tmag5273.h:28
@ TMAG5273_CHAN_MAGNITUDE
Magnitude measurement result between two axis in Gs.
Definition: tmag5273.h:23
tmag5273_attribute
Additional attributes supported by the TMAG5273.
Definition: tmag5273.h:37
@ TMAG5273_ATTR_ANGLE_MAG_AXIS
Define axis relation measurements.
Definition: tmag5273.h:48
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition: sensor.h:356
@ SENSOR_CHAN_PRIV_START
This and higher values are sensor specific.
Definition: sensor.h:208
Public APIs for the sensor driver.