Main Content

Workaround to reset interrupt pin of sensors supporting latched interrupts

This topic helps you with the workaround to reset the interrupt pin of sensors which support latched interrupts. Sensor supporting latched interrupts provide register to reset the interrupt pin. The interrupt pin has to be reset after the system initialization. This ensures occurrence of continuous interrupts from the sensor. Use a model as shown in the image below to clear the interrupt pin of sensors that support latched interrupts.

Interrupt workaround

The following table shows the peripheral address, reset interrupt pin register address, and data size for different sensors.

Sensorperipheral addressReset interrupt pin register addressData size (uint8)
ADXL3450x53 (default) | 0x1D0x326
LIS3DH0x18 (default) | 0x190xA86