English
Language : 

LSM303AH Datasheet, PDF (65/82 Pages) –
LSM303AH
Register description
8.28
6D_SRC_A (39h)
6D source register (r)
Table 81. 6D_SRC_A register
-
6D_IA
ZH
ZL
YH
YL
XH
XL
6D_IA
ZH
ZL
YH
YL
XH
XL
Table 82. 6D_SRC_A register description
Source of change in position portrait/landscape/face-up/face-down.
(0: no event detected; 1: a change in position is detected)
ZH over threshold
(0: ZH does not exceed the threshold; 1: ZH is over the threshold)
ZL over threshold
(0: ZL does not exceed the threshold; 1: ZL is over the threshold)
YH over threshold
(0: YH does not exceed the threshold; 1: YH is over the threshold)
YL over threshold
(0: YL does not exceed the threshold; 1: YL is over the threshold)
XH over threshold:
(0: XH does not exceed the threshold; 1: XH is over the threshold)
XL over threshold
(0: XL does not exceed the threshold; 1: XL is over the threshold)
8.29
STEP_COUNTER_MINTHS_A (3Ah)
Step counter configuration register (r/w).
RST_
nSTEP
Table 83. STEP_COUNTER_MINTHS_A configuration register
PEDO4g
SC_
MTHS5
SC_
MTHS4
SC_
MTHS3
SC_
MTHS2
SC_
MTHS1
SC_
MTHS0
Table 84. STEP_COUNTER_MINTHS_A configuration register description
RST_nSTEP
Step number synchronous reset bit: when '1'-logic forces pedometer to reset the
number of steps in STEP_COUNTER_L_A (3Bh) and STEP_COUNTER_H_A
(3Ch) registers. Default value: 0
PEDO4g
4 g operation mode for pedometer routines enable. Default: 0
(0: 4 g operation mode for pedometer routines disabled;
1: 4 g operation mode for pedometer routines enabled)
SC_MTHS [5:0] Minimum threshold value for step counter routine. Default: 01 0000
DocID027766 Rev 6
65/82
82