handle master side communication of openIMU300ZI module

Dependencies:   mbed

Dependents:   VDU_2021

Revision:
11:866dd73e4ab3
Parent:
10:d8223969c541
Child:
12:bb490978e153
--- a/imu_driver.hpp	Mon Nov 18 08:05:02 2019 +0000
+++ b/imu_driver.hpp	Mon Nov 18 08:08:33 2019 +0000
@@ -23,8 +23,10 @@
 } AhrsRawData;
 
 /**
- *  @brief  AhrsProcessedData is data storage class, which consists of
+ *  @brief  AhrsProcessedData is data storage class
  *  
+ *          The data storage struct consists of:
+ *
  *              - attitude: pitch, roll, yaw in deg, range from -180 ~ +180 deg
  */
 typedef struct AhrsProcessedData {
@@ -39,8 +41,10 @@
 } ImuRawData;
 
 /**
- *  @brief  ImuProcessedData is data storage class, which consists of:
+ *  @brief  ImuProcessedData is data storage class for processed imu data
  *
+ *           This data storage class consists of:
+ *          
  *              - status: if status = 0x0010 (over range error), status = 0 (no error)
  *              - gyroscope: deg/s, range from -300 deg/s ~ 300 deg/s
  *              - accelerometer: g, range from -4.5g ~ 4.5g