handle master side communication of openIMU300ZI module

Dependencies:   mbed

Dependents:   VDU_2021

Revision:
19:3ee54f9a56f3
Parent:
17:629b2f317d0a
Child:
20:19f5c94f8660
--- a/imu_driver.hpp	Tue Dec 17 14:31:09 2019 +0000
+++ b/imu_driver.hpp	Wed Dec 18 06:53:12 2019 +0000
@@ -16,6 +16,11 @@
     ImuExtiRcvAhrsMsg = 0b10
 } ImuExtiConfig;
 
+inline ImuExtiConfig operator |(ImuExtiConfig const& left, ImuExtiConfig const& right) 
+{
+    return ImuExtiConfig(left | right);
+}
+
 /**
  *  @brief  ImuDriverStatus
  */