![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ADISense1000 Version 2.1 code base
Fork of AdiSense1000_V21 by
Diff: inc/adi_sense_api.h
- Branch:
- v2.0
- Revision:
- 27:567abf893938
- Parent:
- 26:12d0204be712
- Child:
- 29:57edca10d78c
--- a/inc/adi_sense_api.h Mon Mar 26 14:50:05 2018 +0000 +++ b/inc/adi_sense_api.h Mon Mar 26 20:28:05 2018 +0100 @@ -1,10 +1,3 @@ -/*! - ****************************************************************************** - * @file: adi_sense_api.h - * @brief: ADISENSE Host Library Application Programming Interface (API) - *----------------------------------------------------------------------------- - */ - /* Copyright 2017 (c) Analog Devices, Inc. @@ -40,6 +33,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/*! + ****************************************************************************** + * @file: adi_sense_api.h + * @brief: ADISENSE Host Library Application Programming Interface (API) + *----------------------------------------------------------------------------- + */ + #ifndef __ADI_SENSE_API_H__ #define __ADI_SENSE_API_H__ @@ -206,6 +206,9 @@ ADI_SENSE_MEASUREMENT_MODE_OMIT_RAW, /*!< In this mode, normal measurement cycle(s) are executed and data samples * are returned with raw measurement values omitted for efficiency. */ + ADI_SENSE_MEASUREMENT_MODE_FFT, + /*!< In this mode, FFT mode measurement cycle(s) are executed and data + * samples are returned based on FFT-specific configuration parameters. */ } ADI_SENSE_MEASUREMENT_MODE; @@ -541,6 +544,7 @@ * @param[in] eMeasurementMode Must be set to the same value used for @ref * adi_sense_StartMeasurement(). * @param[out] pSamples Pointer to return a set of requested data samples. + * @param[in] nBytesPerSample The size, in bytes, of each sample. * @param[in] nRequested Number of requested data samples. * @param[out] pnReturned Number of valid data samples successfully retrieved. * @@ -557,6 +561,7 @@ ADI_SENSE_DEVICE_HANDLE const hDevice, ADI_SENSE_MEASUREMENT_MODE const eMeasurementMode, ADI_SENSE_DATA_SAMPLE * const pSamples, + uint8_t const nBytesPerSample, uint32_t const nRequested, uint32_t * const pnReturned); @@ -584,4 +589,3 @@ */ #endif /* __ADI_SENSE_API_H__ */ -