Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tmag5273.h File Reference

Go to the source code of this file.

Macros

#define TMAG5273_DT_OPER_MODE_CONTINUOUS   0
 
#define TMAG5273_DT_OPER_MODE_STANDBY   1
 
#define TMAG5273_DT_AXIS_NONE   0x0
 
#define TMAG5273_DT_AXIS_X   0x1
 
#define TMAG5273_DT_AXIS_Y   0x2
 
#define TMAG5273_DT_AXIS_Z   0x4
 
#define TMAG5273_DT_AXIS_XY   (TMAG5273_DT_AXIS_X | TMAG5273_DT_AXIS_Y)
 
#define TMAG5273_DT_AXIS_XZ   (TMAG5273_DT_AXIS_X | TMAG5273_DT_AXIS_Z)
 
#define TMAG5273_DT_AXIS_YZ   (TMAG5273_DT_AXIS_Y | TMAG5273_DT_AXIS_Z)
 
#define TMAG5273_DT_AXIS_XYZ   (TMAG5273_DT_AXIS_X | TMAG5273_DT_AXIS_Y | TMAG5273_DT_AXIS_Z)
 
#define TMAG5273_DT_AXIS_XYX   0x8
 
#define TMAG5273_DT_AXIS_YXY   0x9
 
#define TMAG5273_DT_AXIS_YZY   0xA
 
#define TMAG5273_DT_AXIS_XZX   0xB
 
#define TMAG5273_DT_AXIS_RANGE_LOW   0
 
#define TMAG5273_DT_AXIS_RANGE_HIGH   1
 
#define TMAG5273_DT_AXIS_RANGE_RUNTIME   2
 
#define TMAG5273_DT_INT_THROUGH_INT   0
 
#define TMAG5273_DT_INT_THROUGH_INT_EXC_I2C   1
 
#define TMAG5273_DT_INT_THROUGH_SCL   2
 
#define TMAG5273_DT_INT_THROUGH_SCL_EXC_I2C   3
 
#define TMAG5273_DT_THRX_COUNT_1   0
 
#define TMAG5273_DT_THRX_COUNT_4   1
 
#define TMAG5273_DT_THRX_ABOVE   0
 
#define TMAG5273_DT_THRX_BELOW   1
 
#define TMAG5273_DT_THRX_OUTSIDE   2
 
#define TMAG5273_DT_THRX_INSIDE   3
 
#define TMAG5273_DT_TEMP_COEFF_NONE   0
 
#define TMAG5273_DT_TEMP_COEFF_NDBFE   1
 
#define TMAG5273_DT_TEMP_COEFF_CERAMIC   2
 
#define TMAG5273_DT_ANGLE_MAG_NONE   0
 
#define TMAG5273_DT_ANGLE_MAG_XY   1
 
#define TMAG5273_DT_ANGLE_MAG_YZ   2
 
#define TMAG5273_DT_ANGLE_MAG_XZ   3
 
#define TMAG5273_DT_ANGLE_MAG_RUNTIME   4
 
#define TMAG5273_DT_CORRECTION_CH_1   0
 
#define TMAG5273_DT_CORRECTION_CH_2   1
 
#define TMAG5273_DT_AVERAGING_NONE   0
 
#define TMAG5273_DT_AVERAGING_2X   1
 
#define TMAG5273_DT_AVERAGING_4X   2
 
#define TMAG5273_DT_AVERAGING_8X   3
 
#define TMAG5273_DT_AVERAGING_16X   4
 
#define TMAG5273_DT_AVERAGING_32X   5
 
#define TMAG5273_DT_SLEEPTIME_1MS   0
 
#define TMAG5273_DT_SLEEPTIME_5MS   1
 
#define TMAG5273_DT_SLEEPTIME_10MS   2
 
#define TMAG5273_DT_SLEEPTIME_15MS   3
 
#define TMAG5273_DT_SLEEPTIME_20MS   4
 
#define TMAG5273_DT_SLEEPTIME_30MS   5
 
#define TMAG5273_DT_SLEEPTIME_50MS   6
 
#define TMAG5273_DT_SLEEPTIME_100MS   7
 
#define TMAG5273_DT_SLEEPTIME_500MS   8
 
#define TMAG5273_DT_SLEEPTIME_1000MS   9
 
#define TMAG5273_DT_SLEEPTIME_2000MS   10
 
#define TMAG5273_DT_SLEEPTIME_5000MS   11
 
#define TMAG5273_DT_SLEEPTIME_20000MS   12
 

Macro Definition Documentation

◆ TMAG5273_DT_ANGLE_MAG_NONE

#define TMAG5273_DT_ANGLE_MAG_NONE   0

◆ TMAG5273_DT_ANGLE_MAG_RUNTIME

#define TMAG5273_DT_ANGLE_MAG_RUNTIME   4

◆ TMAG5273_DT_ANGLE_MAG_XY

#define TMAG5273_DT_ANGLE_MAG_XY   1

◆ TMAG5273_DT_ANGLE_MAG_XZ

#define TMAG5273_DT_ANGLE_MAG_XZ   3

◆ TMAG5273_DT_ANGLE_MAG_YZ

#define TMAG5273_DT_ANGLE_MAG_YZ   2

◆ TMAG5273_DT_AVERAGING_16X

#define TMAG5273_DT_AVERAGING_16X   4

◆ TMAG5273_DT_AVERAGING_2X

#define TMAG5273_DT_AVERAGING_2X   1

◆ TMAG5273_DT_AVERAGING_32X

#define TMAG5273_DT_AVERAGING_32X   5

◆ TMAG5273_DT_AVERAGING_4X

#define TMAG5273_DT_AVERAGING_4X   2

◆ TMAG5273_DT_AVERAGING_8X

#define TMAG5273_DT_AVERAGING_8X   3

◆ TMAG5273_DT_AVERAGING_NONE

#define TMAG5273_DT_AVERAGING_NONE   0

◆ TMAG5273_DT_AXIS_NONE

#define TMAG5273_DT_AXIS_NONE   0x0

◆ TMAG5273_DT_AXIS_RANGE_HIGH

#define TMAG5273_DT_AXIS_RANGE_HIGH   1

◆ TMAG5273_DT_AXIS_RANGE_LOW

#define TMAG5273_DT_AXIS_RANGE_LOW   0

◆ TMAG5273_DT_AXIS_RANGE_RUNTIME

#define TMAG5273_DT_AXIS_RANGE_RUNTIME   2

◆ TMAG5273_DT_AXIS_X

#define TMAG5273_DT_AXIS_X   0x1

◆ TMAG5273_DT_AXIS_XY

#define TMAG5273_DT_AXIS_XY   (TMAG5273_DT_AXIS_X | TMAG5273_DT_AXIS_Y)

◆ TMAG5273_DT_AXIS_XYX

#define TMAG5273_DT_AXIS_XYX   0x8

◆ TMAG5273_DT_AXIS_XYZ

#define TMAG5273_DT_AXIS_XYZ   (TMAG5273_DT_AXIS_X | TMAG5273_DT_AXIS_Y | TMAG5273_DT_AXIS_Z)

◆ TMAG5273_DT_AXIS_XZ

#define TMAG5273_DT_AXIS_XZ   (TMAG5273_DT_AXIS_X | TMAG5273_DT_AXIS_Z)

◆ TMAG5273_DT_AXIS_XZX

#define TMAG5273_DT_AXIS_XZX   0xB

◆ TMAG5273_DT_AXIS_Y

#define TMAG5273_DT_AXIS_Y   0x2

◆ TMAG5273_DT_AXIS_YXY

#define TMAG5273_DT_AXIS_YXY   0x9

◆ TMAG5273_DT_AXIS_YZ

#define TMAG5273_DT_AXIS_YZ   (TMAG5273_DT_AXIS_Y | TMAG5273_DT_AXIS_Z)

◆ TMAG5273_DT_AXIS_YZY

#define TMAG5273_DT_AXIS_YZY   0xA

◆ TMAG5273_DT_AXIS_Z

#define TMAG5273_DT_AXIS_Z   0x4

◆ TMAG5273_DT_CORRECTION_CH_1

#define TMAG5273_DT_CORRECTION_CH_1   0

◆ TMAG5273_DT_CORRECTION_CH_2

#define TMAG5273_DT_CORRECTION_CH_2   1

◆ TMAG5273_DT_INT_THROUGH_INT

#define TMAG5273_DT_INT_THROUGH_INT   0

◆ TMAG5273_DT_INT_THROUGH_INT_EXC_I2C

#define TMAG5273_DT_INT_THROUGH_INT_EXC_I2C   1

◆ TMAG5273_DT_INT_THROUGH_SCL

#define TMAG5273_DT_INT_THROUGH_SCL   2

◆ TMAG5273_DT_INT_THROUGH_SCL_EXC_I2C

#define TMAG5273_DT_INT_THROUGH_SCL_EXC_I2C   3

◆ TMAG5273_DT_OPER_MODE_CONTINUOUS

#define TMAG5273_DT_OPER_MODE_CONTINUOUS   0

◆ TMAG5273_DT_OPER_MODE_STANDBY

#define TMAG5273_DT_OPER_MODE_STANDBY   1

◆ TMAG5273_DT_SLEEPTIME_1000MS

#define TMAG5273_DT_SLEEPTIME_1000MS   9

◆ TMAG5273_DT_SLEEPTIME_100MS

#define TMAG5273_DT_SLEEPTIME_100MS   7

◆ TMAG5273_DT_SLEEPTIME_10MS

#define TMAG5273_DT_SLEEPTIME_10MS   2

◆ TMAG5273_DT_SLEEPTIME_15MS

#define TMAG5273_DT_SLEEPTIME_15MS   3

◆ TMAG5273_DT_SLEEPTIME_1MS

#define TMAG5273_DT_SLEEPTIME_1MS   0

◆ TMAG5273_DT_SLEEPTIME_20000MS

#define TMAG5273_DT_SLEEPTIME_20000MS   12

◆ TMAG5273_DT_SLEEPTIME_2000MS

#define TMAG5273_DT_SLEEPTIME_2000MS   10

◆ TMAG5273_DT_SLEEPTIME_20MS

#define TMAG5273_DT_SLEEPTIME_20MS   4

◆ TMAG5273_DT_SLEEPTIME_30MS

#define TMAG5273_DT_SLEEPTIME_30MS   5

◆ TMAG5273_DT_SLEEPTIME_5000MS

#define TMAG5273_DT_SLEEPTIME_5000MS   11

◆ TMAG5273_DT_SLEEPTIME_500MS

#define TMAG5273_DT_SLEEPTIME_500MS   8

◆ TMAG5273_DT_SLEEPTIME_50MS

#define TMAG5273_DT_SLEEPTIME_50MS   6

◆ TMAG5273_DT_SLEEPTIME_5MS

#define TMAG5273_DT_SLEEPTIME_5MS   1

◆ TMAG5273_DT_TEMP_COEFF_CERAMIC

#define TMAG5273_DT_TEMP_COEFF_CERAMIC   2

◆ TMAG5273_DT_TEMP_COEFF_NDBFE

#define TMAG5273_DT_TEMP_COEFF_NDBFE   1

◆ TMAG5273_DT_TEMP_COEFF_NONE

#define TMAG5273_DT_TEMP_COEFF_NONE   0

◆ TMAG5273_DT_THRX_ABOVE

#define TMAG5273_DT_THRX_ABOVE   0

◆ TMAG5273_DT_THRX_BELOW

#define TMAG5273_DT_THRX_BELOW   1

◆ TMAG5273_DT_THRX_COUNT_1

#define TMAG5273_DT_THRX_COUNT_1   0

◆ TMAG5273_DT_THRX_COUNT_4

#define TMAG5273_DT_THRX_COUNT_4   1

◆ TMAG5273_DT_THRX_INSIDE

#define TMAG5273_DT_THRX_INSIDE   3

◆ TMAG5273_DT_THRX_OUTSIDE

#define TMAG5273_DT_THRX_OUTSIDE   2