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.
Revision 64:d89d9728ba95, committed 2020-04-09
- Comitter:
- Vkadaba
- Date:
- Thu Apr 09 12:39:43 2020 +0000
- Parent:
- 63:6d048b2f3f32
- Commit message:
- code clean up part-2
Changed in this revision
inc/admw1001/admw1001_api.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/inc/admw1001/admw1001_api.h Thu Apr 09 12:01:25 2020 +0000 +++ b/inc/admw1001/admw1001_api.h Thu Apr 09 12:39:43 2020 +0000 @@ -78,28 +78,7 @@ * @note Reads from special "keyhole" or "FIFO" registers will be handled * according to documentation for those registers. */ -ADMW_RESULT admw1001_ReadRegister( - ADMW_DEVICE_HANDLE const hDevice, - uint16_t const nAddress, - void *const pData, - unsigned const nLength); -/*! - * @brief Read one or more device registers at the specified debug register address. - * - * @param[in] hDevice ADMW1001 device context handle - * @param[in] nAddress Register map address to read from - * @param[out] pData Pointer to return the register map data - * @param[in] nLength Number of bytes of data to read from the register map - * - * @return Status - * - #ADMW_SUCCESS Call completed successfully. - * - * @details Provides direct byte-level read access to the device register map. - * The size and format of the register(s) must be known. - * - * @note Reads from special "keyhole" or "FIFO" registers will be handled - * according to documentation for those registers. - */ + ADMW_RESULT admw1001_Read_Debug_Register( ADMW_DEVICE_HANDLE const hDevice, uint16_t const nAddress, @@ -130,26 +109,6 @@ void *const pData, unsigned const nLength); -/*! - * @brief Write one or more device registers at the specified debug register address. - * - * @param[in] hDevice ADMW1001 device context handle - * @param[in] nAddress Register map address to read from - * @param[out] pData Pointer to return the register map data - * @param[in] nLength Number of bytes of data to read from the register map - * - * @return Status - * - #ADMW_SUCCESS Call completed successfully. - * - * @details Provides direct byte-level write access to the device register map. - * The size and format of the register(s) must be known. - * - */ -ADMW_RESULT admw1001_Write_Debug_Register( - ADMW_DEVICE_HANDLE const hDevice, - uint16_t const nAddress, - void *const pData, - unsigned const nLength); /* * @brief Update power configuration settings on the device. *