cancel
Showing results for 
Search instead for 
Did you mean: 

LIS3DSH differentiate between State Machine 1 and 2 on INT1 pin

lasersocks
Associate II
Posted on August 28, 2014 at 16:25

I am using both state machines on the LIS3DSH to analyze two different types of movement. I only have room to use a single INT pin, so I am trying to direct both state machines to it running at the same time.

When the interrupt triggers, is there any way to tell which state machine was the one that triggered the interrupt? I can not find a register that contains a flag showing whether a machine has been triggered.

Thanks for the help!

#lis3dsh
1 REPLY 1
lasersocks
Associate II
Posted on August 28, 2014 at 17:07

Oh dear, I apparently missed the STAT register... answered my own question