ADISense1000 Version 2.1 code base

Fork of AdiSense1000_V21 by Sean Wilson

Branch:
v2.0
Revision:
30:119ff4f3aef6
Parent:
29:57edca10d78c
--- a/inc/adi_sense_api.h	Tue May 22 13:45:24 2018 +0100
+++ b/inc/adi_sense_api.h	Tue Jun 12 21:27:34 2018 +0100
@@ -163,6 +163,8 @@
     /*!< Code identifying the last error signalled by the device  */
     uint32_t                           alertCode;
     /*!< Code identifying the last alert signalled by the device  */
+    uint32_t                           debugCode;
+    /*!< Supplementary code related to the last error/alert  */
     uint32_t                           channelAlertCodes[ADI_SENSE_MAX_CHANNELS];
     /*!< Per-channel code identifying the last alert signalled for each channel */
 } ADI_SENSE_STATUS;
@@ -268,7 +270,7 @@
 ADI_SENSE_RESULT adi_sense_GetGpioState(
     ADI_SENSE_DEVICE_HANDLE   const hDevice,
     ADI_SENSE_GPIO_PIN        const ePinId,
-    bool_t                  * const pbAsserted);
+    bool                  * const pbAsserted);
 
 /*!
  * @brief Register an application-defined callback function for GPIO interrupts
@@ -341,7 +343,7 @@
  */
 ADI_SENSE_RESULT adi_sense_GetDeviceReadyState(
     ADI_SENSE_DEVICE_HANDLE    const hDevice,
-    bool_t                   * const pbReady);
+    bool                   * const pbReady);
 
 /*!
  * @brief Obtain the product ID from the device.
@@ -685,7 +687,7 @@
  */
 ADI_SENSE_RESULT adi_sense_GetCommandRunningState(
     ADI_SENSE_DEVICE_HANDLE hDevice,
-    bool_t *pbCommandRunning);
+    bool *pbCommandRunning);
 
 #ifdef __cplusplus
 }