AnsweredAssumed Answered

Accelerometer External Interrupt on LPC1769

Question asked by Muhammad Arif Bin Syed Nasser on Apr 8, 2017

I want to trigger a freefall interrupt using the accelerometer module MMA7455 on my base board. I have read the data sheet but I am unclear how to go about setting it to an EINTx interrupt handler. The accelerometer is connected as such: INT1/DRDY -> P2.5 & INT2 -> P1.8. Attached is my code in the limited accelerometer library I was given. I have very little understanding on how to configure the registers and pins so any help is greatly appreciated.

Original Attachment has been moved to: