Vybhav Kadaba
/
EV-PRO-MW1001_Development_updateFW
Bumped Mbed FW version to 01.20.0080
Diff: inc/admw_api.h
- Revision:
- 70:420fac5132f5
- Parent:
- 65:d91e1d63153d
--- a/inc/admw_api.h Mon Apr 20 06:23:42 2020 +0000 +++ b/inc/admw_api.h Thu Apr 23 08:30:42 2020 +0000 @@ -52,7 +52,7 @@ #include "inc/admw_time.h" #include "inc/admw1001/admw1001_sensor_types.h" #include "inc/admw1001/admw1001_lut_data.h" - +#include "ADMW1001_REGISTERS_typedefs.h" /*! @defgroup ADMW_Api ADMW Host Library API * Host library API common to the ADMW product family. * @{ @@ -161,13 +161,13 @@ * measurement value, following calibration and linearisation correction, * and conversion into an appropriate unit of measurement. */ - uint32_t Channel_ID : 4; /**< Indicates which channel this result corresponds to */ - uint32_t Ch_Error : 1; /**< Indicates Error on channel */ - uint32_t Ch_Alert : 1; /**< Indicates Alert on channel */ - uint32_t Ch_Raw : 1; /**< Indicates if Raw sensor data field is valid */ - uint32_t Ch_Valid : 1; /**< Indicates if this Result structure is valid */ - uint32_t Status : 8; /**< Indicates the Status of this measurement */ - uint32_t Reserved : 16; /**< Reserved for future use */ + uint16_t Channel_ID : 4; /**< Indicates which channel this result corresponds to */ + uint16_t Ch_Error : 1; /**< Indicates Error on channel */ + uint16_t Ch_Alert : 1; /**< Indicates Alert on channel */ + uint16_t Ch_Raw : 1; /**< Indicates if Raw sensor data field is valid */ + uint16_t Ch_Valid : 1; /**< Indicates if this Result structure is valid */ + uint16_t Reserved : 8; /**< Reserved for future use */ + ADMW_CORE_Alert_Detail_Ch_t Status; /**< Indicates Status of this measurement */ float32_t Raw_Sample; /*!< The raw value obtained from the measurement channel, before * calibration and linearisation correction, and conversion.