jessebraham / icm42670

An embedded-hal driver for the ICM-42670 6-axis IMU
Apache License 2.0
7 stars 9 forks source link

Add support for configuring interrupts #7

Open jessebraham opened 1 year ago

Ben-PH commented 7 months ago

Something that might be useful context: found this in the arduino library: https://github.com/InvenSenseInc/arduino.ICM42670P/blob/master/src/imu/inv_imu_driver.c#L84

Note the clearing of interrupt. At time of writing, the equivilent in here omits the interrupt clearing.

If I read this correctly, setting up interrupts will include needing to go through the existing library and verifying interrupt setting/clearing is taken care of