


General question: With some digital output sensors (I2C, SPI, etc.), their datasheets and application notes describe using a separate (out-of-band) hardware line to interrupt the microcontroller and have it handle new sets of data.

Currently, I poll the STATUS register's ZYXDA bit (which is what the DRDY line outputs) as needed. Background: I'm using the 元GD20H MEMS gyroscope with an Arduino through a library (Pololu 元G) that in turn relies on interrupt-driven I2C (Wire.h) I'd like to be able to handle each new reading from the sensor to update the calculated angle in the background using the data ready line (DRDY).
