Hi,
I want to implement the tap sensing in my product. for that i have BMI160 accelerometer for tap detection interrupt.
during wake up time i need to read the accelerometer and gyro data. when i go to sleep mode. i need to enable tap interrupt. and once it wake up i need to disable interrupt.
how can i do it. is there any related code.?