Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: inc/admw1001/admw1001_config.h
- Revision:
- 33:df7a00f1b8e1
- Parent:
- 18:cbf514cce921
- Child:
- 34:b60ee1e0af2b
diff -r 52445bef314d -r df7a00f1b8e1 inc/admw1001/admw1001_config.h
--- a/inc/admw1001/admw1001_config.h Fri Oct 25 05:08:19 2019 +0000
+++ b/inc/admw1001/admw1001_config.h Thu Nov 14 05:35:08 2019 +0000
@@ -172,6 +172,16 @@
} ADMW1001_OPEN_SENSOR_DIAGNOSTICS;
+
+typedef enum
+{
+ ADMW1001_BUFFER_BYPASSS_DISABLED = 0,
+ /*!< Buffer Bypass Disabled */
+ ADMW1001_BUFFER_BYPASSS_ENABLED,
+ /*!< Buffer Bypass Enabled */
+
+} ADMW1001_BUFFER_BYPASSS;
+
/*! ADMW1001 analog input signal amplification gain options
*
* @note applicable only to ADC analog sensor channels
@@ -220,13 +230,10 @@
*/
typedef enum
{
- ADMW1001_ADC_EXC_STATE_OFF=-1,
- /*!< Excitation for measurement is off*/
+ ADMW1001_ADC_EXC_STATE_CYCLE_POWER=0,
+ /*!< Excitation for measurement is active only during measurement */
ADMW1001_ADC_EXC_STATE_ALWAYS_ON,
/*!< Excitation for measurement is always on */
- ADMW1001_ADC_EXC_STATE_CYCLE_POWER,
- /*!< Excitation for measurement is active only during measurement */
-
} ADMW1001_ADC_EXC_STATE;
/*! ADMW1001 analog sensor excitation current output level options
@@ -496,8 +503,10 @@
* Applicable only if the selected reference type is
* voltage.
* (see @ref ADMW1001_ADC_REFERENCE_TYPE)
- */
- uint32_t reserved1[4];
+ */
+ float32_t RSenseValue;
+ /*!< Sense resistor value in Ohms. */
+ uint32_t reserved1[3];
/*!< Reserved for future use and ensure word alignment.
*/
@@ -557,7 +566,9 @@
ADMW1001_ADC_REFERENCE_TYPE reference;
bool vBiasEnable;
/*!< ADC Reference configuration */
- uint8_t reserved0[3];
+ uint8_t bufferBypass;
+ /*!< Buffer Bypass configuration */
+ uint8_t reserved0[2];
/*!< Reserved for future use and ensure word alignment. */
uint32_t reserved1[6];
/*!< Reserved for future use and ensure word alignment. */