I am working on a project using the 9S08mm128 MCU. The MCU is connected to an accelerometer (MMA8652) using the I2C bus.
Also I have connected the external interrupt pin INT1 (from the accelerometer) to the KBI2P7 pin of the MCU.
Now, when the data is ready the INT1 will be set to 1
when setting the