File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
src/utilities/BMM150-Sensor-API Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 330330#define BMM150_OP_MODE_POS UINT8_C(0x01)
331331
332332/*! @name PRESET MODES - REPETITIONS-XY RATES */
333- #define BMM150_REPXY_LOWPOWER UINT8_C(0x01)
334- #define BMM150_REPXY_REGULAR UINT8_C(0x04)
335- #define BMM150_REPXY_ENHANCED UINT8_C(0x07)
336- #define BMM150_REPXY_HIGHACCURACY UINT8_C(0x17)
333+ // nXY=1+2⋅(REPXY)
334+ #define BMM150_REPXY_LOWPOWER UINT8_C(0x01) // nXY = 3
335+ #define BMM150_REPXY_REGULAR UINT8_C(0x04) // nXY = 9
336+ #define BMM150_REPXY_ENHANCED UINT8_C(0x07) // nXY = 15
337+ #define BMM150_REPXY_HIGHACCURACY UINT8_C(0x17) // nXY = 47
337338
338339/*! @name PRESET MODES - REPETITIONS-Z RATES */
339- #define BMM150_REPZ_LOWPOWER UINT8_C(0x01)
340- #define BMM150_REPZ_REGULAR UINT8_C(0x07)
341- #define BMM150_REPZ_ENHANCED UINT8_C(0x0D)
342- #define BMM150_REPZ_HIGHACCURACY UINT8_C(0x29)
340+ // nZ=1+(REPZ)
341+ #define BMM150_REPZ_LOWPOWER UINT8_C(0x02) // nZ = 3
342+ #define BMM150_REPZ_REGULAR UINT8_C(0x0E) // nZ = 15
343+ #define BMM150_REPZ_ENHANCED UINT8_C(0x1A) // nZ = 27
344+ #define BMM150_REPZ_HIGHACCURACY UINT8_C(0x52) // nZ = 83
343345
344346/*! @name Self test settings */
345347#define BMM150_DISABLE_XY_AXIS UINT8_C(0x03)
You can’t perform that action at this time.
0 commit comments