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.
Fork of Babyseat_NewFirmware_copy_sean by
Diff: inc/adi_sense_1000/adi_sense_1000_config.h
- Branch:
- v2.0
- Revision:
- 30:119ff4f3aef6
- Parent:
- 29:57edca10d78c
--- a/inc/adi_sense_1000/adi_sense_1000_config.h Tue May 22 13:45:24 2018 +0100
+++ b/inc/adi_sense_1000/adi_sense_1000_config.h Tue Jun 12 21:27:34 2018 +0100
@@ -578,7 +578,7 @@
typedef struct {
ADI_SENSE_1000_ADC_REFERENCE_TYPE type;
/*!< Filter type selection */
- bool_t disableBuffer;
+ bool disableBuffer;
/*!< Option to disable internal ADC reference buffer */
} ADI_SENSE_1000_ADC_REFERENCE_CONFIG;
@@ -597,7 +597,7 @@
/*!< ADC Filter configuration */
ADI_SENSE_1000_ADC_REFERENCE_CONFIG reference;
/*!< ADC Reference configuration */
- bool_t enableVbias;
+ bool enableVbias;
/*!< Option to enable internal ADC voltage bias */
} ADI_SENSE_1000_ADC_CHANNEL_CONFIG;
@@ -625,9 +625,9 @@
typedef struct {
ADI_SENSE_1000_DIGITAL_SENSOR_DATA_CODING coding;
/**< Data Encoding of Sensor Result */
- bool_t littleEndian;
+ bool littleEndian;
/**< Set as true if data format is little-endian, false otherwise */
- bool_t leftJustified;
+ bool leftJustified;
/**< Set as true if data is left-justified in the data frame, false otherwise */
uint8_t frameLength;
/**< Data frame length (number of bytes to read from the sensor) */
@@ -658,7 +658,7 @@
* of a digital sensor. Used only if the sensor supports calibration
* and expects an environmental parameter
*/
- bool_t enableCalibrationParam;
+ bool enableCalibrationParam;
/*!< Allow Calibration_Parameter to be used during calibration of any digital sensor */
} ADI_SENSE_1000_DIGITAL_CALIBRATION_COMMAND;
@@ -667,7 +667,7 @@
* @note applicable only to digital sensor channels
*/
typedef struct {
- bool_t useCustomCommsConfig;
+ bool useCustomCommsConfig;
/*!< Optional parameter to enable user digital communication settings */
ADI_SENSE_1000_DIGITAL_SENSOR_COMMS_I2C_CLOCK_SPEED i2cClockSpeed;
/*!< Optional parameter to configure specific i2c speed for i2c sensor */
@@ -778,13 +778,11 @@
/*! ADSNS1000 Measurement Channel configuration details */
typedef struct {
- bool_t enableChannel;
- /*!< Option to enable this channel. If set to false, all other fields
- * are ignored and this channel will be omitted from measurement cycles
- */
- bool_t enableFFT;
- /*!< Option to include this channel in FFT mode measurements */
- bool_t disablePublishing;
+ bool enableChannel;
+ /*!< Option to include this channel in normal measurement cycles */
+ bool enableFFT;
+ /*!< Option to include this channel in FFT measurement cycles */
+ bool disablePublishing;
/*!< Option to disable publishing of data samples from this channel. The
* channel may still be included in measurement cycles, but data samples
* obtained from this channel will not be published. This is typically
@@ -797,7 +795,7 @@
* separate measurement of the "cold-junction" temperature, which can be
* be provided by an RTD temperature sensor connected on a separate
* "compensation channel" */
- bool_t enableUnityLut;
+ bool enableUnityLut;
/*!< Option to choose the LUT for calculations, this implies that the
* fundamental measurement for the sensor (typically mV or Ohms)
* would be returned as the measurement result.
@@ -876,13 +874,13 @@
/*! ADSNS1000 Diagnostics configuration details */
typedef struct {
- bool_t disableGlobalDiag;
+ bool disableGlobalDiag;
/*!< Option to disable the following diagnostic checks on the ADC:
* - Reference Detection errors
* - Input under-/over-voltage errors
* - Calibration, Conversion and Saturation errors
*/
- bool_t disableMeasurementDiag;
+ bool disableMeasurementDiag;
/*!< Option to disable additional checks per measurement channel:
* - High/low threshold limit violation
*/
