Removed unwanted enums and unused functions

Committer:
Vkadaba
Date:
Wed Jun 05 05:39:15 2019 +0000
Revision:
5:0728bde67bdb
Parent:
0:85855ecd3257
Child:
15:b5d57daeb7c0
Replaced all references to ADISense/ADISENSE1000/adi_sense with ADMW/ADMW1001/admw and the prject builds.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ADIJake 0:85855ecd3257 1 #ifndef __UTILS_H__
ADIJake 0:85855ecd3257 2 #define __UTILS_H__
ADIJake 0:85855ecd3257 3
Vkadaba 5:0728bde67bdb 4 #include "admw_api.h"
Vkadaba 5:0728bde67bdb 5 #include "admw1001/admw1001_api.h"
ADIJake 0:85855ecd3257 6
ADIJake 0:85855ecd3257 7 #ifdef __cplusplus
ADIJake 0:85855ecd3257 8 extern "C" {
ADIJake 0:85855ecd3257 9 #endif
ADIJake 0:85855ecd3257 10
ADIJake 0:85855ecd3257 11 /* Utility function to print the status read from the ADI Sense device */
ADIJake 0:85855ecd3257 12 void utils_printStatus(
Vkadaba 5:0728bde67bdb 13 ADMW_STATUS *pStatus);
ADIJake 0:85855ecd3257 14
ADIJake 0:85855ecd3257 15 /* Utility function to print data samples read from the ADI Sense device */
ADIJake 0:85855ecd3257 16 void utils_printSamples(
Vkadaba 5:0728bde67bdb 17 ADMW_DATA_SAMPLE *pSampleBuffer,
ADIJake 0:85855ecd3257 18 uint32_t nNumSamples,
Vkadaba 5:0728bde67bdb 19 ADMW_MEASUREMENT_MODE eMeasurementMode);
ADIJake 0:85855ecd3257 20
ADIJake 0:85855ecd3257 21 /* Utility function to register callbacks for ADI Sense device notification signals */
Vkadaba 5:0728bde67bdb 22 ADMW_RESULT utils_registerCallbacks(
Vkadaba 5:0728bde67bdb 23 ADMW_DEVICE_HANDLE hDevice,
ADIJake 0:85855ecd3257 24 volatile bool *pbDataReady,
ADIJake 0:85855ecd3257 25 volatile bool *pbError,
ADIJake 0:85855ecd3257 26 volatile bool *pbAlert);
ADIJake 0:85855ecd3257 27
ADIJake 0:85855ecd3257 28 /* Utility function to de-register callbacks for ADI Sense device notification signals */
Vkadaba 5:0728bde67bdb 29 ADMW_RESULT utils_deregisterCallbacks(
Vkadaba 5:0728bde67bdb 30 ADMW_DEVICE_HANDLE hDevice);
ADIJake 0:85855ecd3257 31
ADIJake 0:85855ecd3257 32 /* Utility function to run measurements on ADI Sense device, according to its current
ADIJake 0:85855ecd3257 33 * configuration, and display data samples and device status following each cycle */
Vkadaba 5:0728bde67bdb 34 ADMW_RESULT utils_runMeasurement(
Vkadaba 5:0728bde67bdb 35 ADMW_DEVICE_HANDLE hDevice,
Vkadaba 5:0728bde67bdb 36 ADMW_MEASUREMENT_MODE eMeasurementMode);
ADIJake 0:85855ecd3257 37
ADIJake 0:85855ecd3257 38 /* Utility function to retrieve and print the factory calibration coefficients table from the ADI Sense device */
Vkadaba 5:0728bde67bdb 39 ADMW_RESULT utils_printCalTable(
Vkadaba 5:0728bde67bdb 40 ADMW_DEVICE_HANDLE hDevice);
ADIJake 0:85855ecd3257 41
ADIJake 0:85855ecd3257 42 #ifdef __cplusplus
ADIJake 0:85855ecd3257 43 }
ADIJake 0:85855ecd3257 44 #endif
ADIJake 0:85855ecd3257 45
ADIJake 0:85855ecd3257 46 #endif /* __UTILS_H__ */
ADIJake 0:85855ecd3257 47