Vybhav Kadaba
/
EV-PRO-MW1001_Development_updateFW
Bumped Mbed FW version to 01.20.0080
Diff: inc/admw_api.h
- Revision:
- 64:e8670e971e22
- Parent:
- 63:2655a04c00f5
- Child:
- 65:d91e1d63153d
--- a/inc/admw_api.h Tue Apr 14 06:43:47 2020 +0000 +++ b/inc/admw_api.h Tue Apr 14 07:04:24 2020 +0000 @@ -432,71 +432,6 @@ ADMW_USER_CONFIG_SLOT const eSlotId); /*! - * @brief Erases the external flash memory. - * - * @param[in] hDevice ADMW device context handle - * - * @return Status - * - #ADMW_SUCCESS Call completed successfully. - * - * @details Sends the bulk erase instruction to the external flash - * device. All stored samples are deleted. - * It is a blocking operation and takes tens of seconds to - * complete. - * - * @note No other command must be running when this is called. - */ -ADMW_RESULT admw_EraseExternalFlash( - ADMW_DEVICE_HANDLE const hDevice); - -/*! - * @brief Gets the number of samples stored in the external flash - * memory. - * - * @param[in] hDevice ADMW device context handle - * @param[in] pSampleCount Address of the return value. - * - * @return Status - * - #ADMW_SUCCESS Call completed successfully. - * - * @note No other command must be running when this is called. - */ -ADMW_RESULT admw_GetExternalFlashSampleCount( - ADMW_DEVICE_HANDLE const hDevice, - uint32_t * nSampleCount); - -// DEBUG - TO BE DELETED -ADMW_RESULT admw_SetExternalFlashIndex( - ADMW_DEVICE_HANDLE const hDevice, - uint32_t nStartIndex); - -/*! - * @brief Read measurement samples stored in the the external flash memory. - * - * @param[in] hDevice ADMW device context handle - * @param[out] pSamples Pointer to return a set of requested data - * samples. - * @param[in] nStartIndex Index of first sample to retrieve. - * @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. - * - * @return Status - * - #ADMW_SUCCESS Call completed successfully. - * - * @details Reads the status registers and extracts the relevant information - * to return to the caller. - * - */ -ADMW_RESULT admw_GetExternalFlashData( - ADMW_DEVICE_HANDLE const hDevice, - ADMW_DATA_SAMPLE * const pSamples, - uint32_t const nIndex, - uint32_t const nRequested, - uint32_t * const pnReturned); - -/*! * @brief Store the LUT data to persistent memory on the device. * * @param[in] hDevice ADMW device context handle