In the INT1_SRC register, there is XH/YH/ZH as well as XL/YL/ZL bits to indicate the (XYZ)H/L event has occurred. But there is only INT1_THS register instead of INT1_THS_HIGH/INT1_THS_LOW. How can I configure two threshold for each axis?
The threshold is common for X, Y, Z axis and it is absolute value. It doesn't matter what sign has the acceleration.
Yes, I understand the threshold is common for XYZ. Probably I have some misunderstanding of those register bits. In the datasheet, it says ZH/L goes 1 when Z high/low event has occurred. What does Z high/low event stand for. What's their relationship with the INT1_THS register or any other relevant register?
I hope my picture will make it clear.
Thanks for the reply and nice picture. So when the acceleration is in XYZ high area in the picture, the high event is 1, and low event is zero. And vise versa. High and low event can't happen at same time.
So it is register design matter that it uses two separate register to indicate high/low event instead of one. Correct?
Yes, your understanding is correct.
Retrieving data ...