I’m trying to understand a little about the MPL3115A2 pressure sensor we are using.
Section 13.11, INT_SOURCE (0x12), second paragraph: “The setting of the bits is rising edge sensitive, the bit is set by a low to high state change and reset by reading the appropriate source register”.
What does this mean for the SRC_PW and SRC_TW bits, i.e., what is the source? Does this mean to reading this register (INT_SOURCE) will clear these bits, or must I read another “source” register?
Yes for the pressure interrupts reading OUT_P_MSB register will clear the interrupt. For the temperature interrupts reading OUT_T_MSB register will clear the interrupts.
The source is the Pressure and Temperature output registers. Once the interrupt is asserted it is cleared by reading the appropriate output register. For Pressure interrupts this would be OUT_P_MSB and for Temperature interrupts it would be OUT_T_MSB